HWND hWnd = ::FindWindow(_TEXT("Shell_TrayWnd"), NULL); if(hWnd!=NULL) { ::SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED); ::SetLayeredWindowAttributes(hWnd, 0, 255 * alpha / 100, LWA_ALPHA); }
hWnd = ::FindWindow(_TEXT("DV2ControlHost"), NULL); if(hWnd!=NULL) { ::SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED); ::SetLayeredWindowAttributes(hWnd, 0, 255 * alpha / 100, LWA_ALPHA); }
hWnd = ::FindWindow(_TEXT("BaseBar"), NULL); if(hWnd!=NULL) { ::SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED); ::SetLayeredWindowAttributes(hWnd, 0, 255 * alpha / 100, LWA_ALPHA); }
|