Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Transparent Window Background?

Author
Message
Anruth
15
Years of Service
User Offline
Joined: 20th Dec 2010
Location:
Posted: 29th May 2013 08:47
Is there a way to create a window with a transparent background that will show the Windows Desktop?
Booma
17
Years of Service
User Offline
Joined: 29th Mar 2009
Location:
Posted: 29th May 2013 09:59
Anruth
15
Years of Service
User Offline
Joined: 20th Dec 2010
Location:
Posted: 29th May 2013 16:03
Thanks,

I think the Styx plugin is what I need.
Burning Feet Man
18
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 30th May 2013 00:40
Have you looked at BBB Gui? I recall one of the demo projects having a translucent sub-window to the main DBPro application.

BBB Gui Plugin

Remember after installing BBB Gui, you'll get the DLL conflict, but simply just pick one or the other.

Now, let me look at Styx! Never heard of it until now.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Burning Feet Man
18
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 10th Aug 2013 04:16 Edited at: 10th Aug 2013 04:17
Ooops, nearly forgot to ask here;



Can you spot my App window below? Note that everything in the view has alpha applied. What I'd really love to see, is some one apply alpha just to backdrop, thus a spinning cube would appear to spin all by itself on the desktop. Now that would be cool.



Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Rudolpho
20
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 10th Aug 2013 04:37
I think changing the mask image for a window in realtime would not run fast enough; possibly if you had a very little cube / whatever you wish to display.

You can get the desktop window and draw to it, but in that case other windows can of course go in front of it. Apart from this I'm not sure, interesting idea though


"Why do programmers get Halloween and Christmas mixed up?"
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 10th Aug 2013 13:52
I have tried this before by using what Rudolpho recommended. The backdrop just keeps flashing; it was not perfectly transparent.

I think this is because of the windows forms GDI drawing API not being hardware accelerated, so the actual processor handling the transparency of the window is the CPU; which perhaps is subject to delays in-between frames.

Login to post a reply

Server time is: 2026-07-08 14:12:08
Your offset time is: 2026-07-08 14:12:08