mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 11:42:24 +00:00
[User32] Properly handle WM_CTLCOLOR* messages.
Patch by Fabian Maurer : Properly handle WM_CTLCOLOR* messages.
See CORE-15560 and
fbec0ba9ee
.
Added support for module versions.
This commit is contained in:
parent
d96f24e384
commit
34b4b96461
1 changed files with 15 additions and 0 deletions
|
@ -2052,6 +2052,21 @@ LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPAR
|
||||||
if (GET_WHEEL_DELTA_WPARAM(wParam) < 0) return SendMessageW(hwnd, WM_KEYDOWN, VK_DOWN, 0);
|
if (GET_WHEEL_DELTA_WPARAM(wParam) < 0) return SendMessageW(hwnd, WM_KEYDOWN, VK_DOWN, 0);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
case WM_CTLCOLOR:
|
||||||
|
case WM_CTLCOLORMSGBOX:
|
||||||
|
case WM_CTLCOLOREDIT:
|
||||||
|
case WM_CTLCOLORLISTBOX:
|
||||||
|
case WM_CTLCOLORBTN:
|
||||||
|
case WM_CTLCOLORDLG:
|
||||||
|
case WM_CTLCOLORSCROLLBAR:
|
||||||
|
case WM_CTLCOLORSTATIC:
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
if ( pWnd && !(pWnd->state2 & WNDS2_WIN40COMPAT) ) break; // Must be Win 4.0 and above.
|
||||||
|
#endif
|
||||||
|
if (lphc->owner)
|
||||||
|
return SendMessageW(lphc->owner, message, wParam, lParam);
|
||||||
|
break;
|
||||||
|
|
||||||
/* Combo messages */
|
/* Combo messages */
|
||||||
|
|
||||||
case CB_ADDSTRING:
|
case CB_ADDSTRING:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue