PDA

View Full Version : qt4.3 semi-transparent widgets winxp



kernel_panic
18th July 2007, 13:37
hi all, is it possible to do the same like here
http://labs.trolltech.com/page/Graphics/Examples/Examples1
on windows xp?
the control-elements of the widget MUST be visible at all.
Please ask if anything isn't clear.
thx

marcel
18th July 2007, 22:14
No, not on XP.
It does not support desktop composition.
But Vista does( only with Aero enabled - the DWM API ).

Regards

kernel_panic
19th July 2007, 07:25
if i set my window to an layered window, alpha blending and semi-transparence works fine, but my controls are away...
the funktions i use are
SetWindowLong();
UpdateLayeredWindow();

and it must work on xp, because konfabulator widgets and yahoo widgets do it on winxp.
isn't there source code available for this widget engines or does somebody know how they do this?