Transparent form
Original Reporter info from Mantis: xpete
-
Reporter name: xpete
Original Reporter info from Mantis: xpete
- Reporter name: xpete
Description:
Theres some missing features in TcustumForm that i need
the next information is from delphi help:
Property TransparentColor: Boolean;
Specifies whether a color on the form appears transparent.
property TransparentColorValue: TColor;
Indicates the color on the form that appears transparent when TransparentColor is true.
Use TransparentColor to indicate that one of the colors on the form should be treated as transparent, allowing windows behind the form to completely show through. The TransparentColorValue property indicates the color that appears completely transparent.
Note: To make the entire form transparent, or to make it translucent rather than transparent, use the AlphaBlend and AlphaBlendValue properties.
Additional information:
You can use the function SetWindowRgn in windows
you can see a example on how to use here:
http://koders.com/delphi/fid1DF4D91A23AF9688471FA339A4E276A44C33099A.aspx?s=SetWindowRgn
i will send another example when i can.
for gtk2 you can see a example in tests/testgtk.c from gt2 source that can be found here
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/gtk+-2.8.13.tar.bz2
its from line 9978 till 10195.
it may also work in gtk1
For qt4 please take a look at he mailing list, someone already give a example on it.
Mantis conversion info:
- Mantis ID: 1804
- OS: all
- OS Build: all
- Platform: all
- Version: 0.9.12