Transparent Window?

Blitz3D Forums/Blitz3D Programming/Transparent Window?

Guy Fawkes(Posted 2014) [#1]
Hi all. I'm in the process of finishing my program, and I just realized it would be alot easier to use my program if I had a transparent window for my side menu. So I went ahead and created this code to do just that. There is one problem, however. How can I make this window transparent, yet still be able to drag the window around with the title bar & mouse down left? Also, how can I get it to affect the transparency of child windows that are not the main window?

For this to compile correctly / at all, you'll need to add "User32.decls" to your "userlibs" folder inside your Blitz3D folder.

User32.decls:



Here's the code:



Thank You so kindly! :)

Sincerely,

~GF


Guy Fawkes(Posted 2014) [#2]
Can someone please assist?

Thank You so kindly! =)

~GF


Rick Nasher(Posted 2014) [#3]
Dunno if this is gonna do it for you(haven't tested it), appears to have transparency in it. However may not be the approach you like to use.

Blitz3D-код:Transparent2DGUIExample.bb


Found at: http://blitzetc.ru/index.php/Blitz3D-%D0%BA%D0%BE%D0%B4:Transparent2DGUIExample.bb