Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle.
This commit is contained in:
parent
20a4cc3116
commit
023b1aae0a
|
@ -2114,11 +2114,15 @@ static LRESULT
|
|||
TOOLTIPS_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
DWORD dwStyle = GetWindowLongA (hwnd, GWL_STYLE);
|
||||
DWORD dwExStyle = GetWindowLongA (hwnd, GWL_EXSTYLE);
|
||||
|
||||
dwStyle &= 0x0000FFFF;
|
||||
dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS);
|
||||
SetWindowLongA (hwnd, GWL_STYLE, dwStyle);
|
||||
|
||||
dwExStyle |= WS_EX_TOOLWINDOW;
|
||||
SetWindowLongA (hwnd, GWL_EXSTYLE, dwExStyle);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue