https://bugs.winehq.org/show_bug.cgi?id=50495
--- Comment #1 from Bruni earns.61@gmail.com --- Hello,
Try replace the line
SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) & (~WS_DLGFRAME));
with the following two lines: --------------- SetWindowLongPtr(hWnd, GWL_EXSTYLE, GetWindowLongPtr(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED | WS_EX_TRANSPARENT); SetLayeredWindowAttributes(hWnd, 0, (byte)(255 * 0.7), LWA_ALPHA); --------------- and say what happens.
Thanks.