Commit 023b1aae authored by Ori Pessach's avatar Ori Pessach Committed by Alexandre Julliard

Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle.

parent 20a4cc31
...@@ -2114,11 +2114,15 @@ static LRESULT ...@@ -2114,11 +2114,15 @@ static LRESULT
TOOLTIPS_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam) TOOLTIPS_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
{ {
DWORD dwStyle = GetWindowLongA (hwnd, GWL_STYLE); DWORD dwStyle = GetWindowLongA (hwnd, GWL_STYLE);
DWORD dwExStyle = GetWindowLongA (hwnd, GWL_EXSTYLE);
dwStyle &= 0x0000FFFF; dwStyle &= 0x0000FFFF;
dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS); dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS);
SetWindowLongA (hwnd, GWL_STYLE, dwStyle); SetWindowLongA (hwnd, GWL_STYLE, dwStyle);
dwExStyle |= WS_EX_TOOLWINDOW;
SetWindowLongA (hwnd, GWL_EXSTYLE, dwExStyle);
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment