Window opaquenes
-
Hi Does anybody know if there is a way to control how opaque a window is? Could I make a window e.g. 50% opaque or at least make an image in a window 50% opaque? Thanks in advance. /Per
You'll need the platform SDK and Windows 2000 ( or XP, I guess ). I forget the call, but I can look it up for you if you haven't found it. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
Hi Does anybody know if there is a way to control how opaque a window is? Could I make a window e.g. 50% opaque or at least make an image in a window 50% opaque? Thanks in advance. /Per
This oughta do it
DWORD dwExstyle = GetWindowExStyle(hwnd);
SetWindowLong ( hwnd, dwExstyle|WS_EX_LAYERED );
SetLayeredWindowAttributes ( hwnd, 0, 128, LWA_ALPHA );--Mike-- http://home.inreach.com/mdunn/ Trillian: What are you supposed to do with a manically depressed robot? Marvin: You think you've got problems. What are you supposed to do if you are a manically depressed robot?