MSDN: "WM_NCHITTEST - Returns HTCLIENT if the control style is
SS_NOTIFY; otherwise, returns HTTRANSPARENT. "
This commit is contained in:
parent
0a09482460
commit
bfe15b12ad
|
@ -299,7 +299,10 @@ LRESULT WINAPI StaticWndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
|
|||
goto END;
|
||||
|
||||
case WM_NCHITTEST:
|
||||
lResult = HTTRANSPARENT;
|
||||
if (wndPtr->dwStyle & SS_NOTIFY)
|
||||
lResult = HTCLIENT;
|
||||
else
|
||||
lResult = HTTRANSPARENT;
|
||||
goto END;
|
||||
|
||||
case WM_GETDLGCODE:
|
||||
|
|
Loading…
Reference in New Issue