SetLayeredWindowAttributes
Okay, I'm trying to create translucent windows.. I have the following code to achieve this (directly from msdn):
Code:
SetWindowLong(hwnd, GWL_EXSTYLE,
GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);
SetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA);
The problem is I get these errors: SetLayeredWindowAttributes/WS_EX_LAYERED/LWA_ALPHA undeclared identifier...
I don't know what header file I'm supposed to include.. can anybody help me with this please??
thanks in advance.. :)