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.

DLL Talk / Blue gui and trasparent

Author
Message
Zaffus
19
Years of Service
User Offline
Joined: 20th Apr 2005
Location:
Posted: 31st May 2005 01:13
is it possible to create some gadgets with transparent background?
I have tried with the command " setgadgetalpha gadget,128 " ( should have a transparency to 50%) but it doesn't work.

Besides the command " setpanelimage " the image is all opaque, are not there zones of transparency (all the zones should not be transparent instead where the pixel is equal to the color of the first pixel?)

Who can help me?
Thanks
Keaz
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Somewhere in south Texas
Posted: 18th Jun 2005 04:31 Edited at: 18th Jun 2005 04:32
The only gadget I've had any luck with making semi transparent is a window gadget. You can use it as a contain for the gadgets you want transparent maybe.
Here's some quick code


Now you should have a transparent comboBox on the title bar.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jun 2005 06:54
setGadgetAlpha only applies to window gadgets.

From the help files:

Quote: "
Sets the opacity of a window gadget. This can range from 0 (transparent) to 255 (opaque / solid).
This effect can add a nice graphical touch when used in moderation, but be aware of the potential performance hit on older PCs.
This command is only supported on Windows 2000 / XP.
"


setPanelImage requires a 256-color bitmap file for transparency to work.


BlueGUI Windows Plugin

Login to post a reply

Server time is: 2024-11-21 14:19:04
Your offset time is: 2024-11-21 14:19:04