Recent content by amr123

  1. A

    Windows 7 SetLayeredWindowAttribute() fails when theme is changed from Aero theme to basic theme

    Hi, I solved the issue by removing and resetting WS_EX_LAYERED attribute on receiving WM_DWMCOMPOSITIONCHANGED message. void CMyWindow::OnCompositionChanged() { BOOLEAN bRet; bRet = IsCompositionEnabled(); if (FALSE == bRet) { ModifyStyleEx(WS_EX_LAYERED, 0); ModifyStyleEx(0...
  2. A

    Windows 7 SetLayeredWindowAttribute() fails when theme is changed from Aero theme to basic theme

    Hello, I am using Windows 7 Enterprise OS (32 bit). I have an mfc application which uses SetLayeredWindowAttribute() api to display fading effect for a window. The window to be displayed is popup window created with attributes WS_EX_TOOLWINDOW | WS_EX_LAYERED and parent NULL. The problem is...
Back
Top