[Qt-interest] Transparent QWidget

matteo matteo.ceruti at task84.it
Wed Oct 7 08:21:29 CEST 2009


Hi,
I need create a transparent QWidget. I try with Api Windows

SetWindowLong(oHandle, GWL_EXSTYLE, GetWindowLong(oHandle, GWL_EXSTYLE) 
WS_EX_LAYERED);
SetLayeredWindowAttributes(oHandle, 0, (255 * 70) / 100, LWA_ALPHA);

but I would prefer to use portable instructions.
Is it possible?

Thanks
Teo



More information about the Qt-interest-old mailing list