[Bug 50495] the WS_EX_LAYERED set SetWindowLong GWL_EXSTYLE , Window show white rather than transparency.

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 14 04:23:34 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50495

--- Comment #2 from Bruni <earns.61 at gmail.com> ---
...
You have to comment out the lines
---------------
RECT rect;
    GetWindowRect(hWnd, &rect);
    SetWindowPos(hWnd, HWND_TOPMOST, rect.left, rect.top, rect.right -
rect.left, rect.bottom - rect.top, SWP_DRAWFRAME);
    LONG ret = GetWindowLong(hWnd, GWL_EXSTYLE);
        ret = ret | WS_EX_LAYERED;
        SetWindowLong(hWnd, GWL_EXSTYLE, ret);
    ShowWindow(hWnd, SW_SHOWMAXIMIZED);
    UpdateWindow(hWnd); 
-------------

as well.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list