mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
- initial default message handler for WM_SYSCOLORCHANGE messages
svn path=/trunk/; revision=39680
This commit is contained in:
parent
daec6ac09d
commit
4f7122ff29
1 changed files with 12 additions and 0 deletions
|
@ -1202,6 +1202,18 @@ User32DefWindowProc(HWND hWnd,
|
|||
return (0);
|
||||
}
|
||||
|
||||
case WM_SYSCOLORCHANGE:
|
||||
{
|
||||
/* force to redraw non-client area */
|
||||
DefWndNCPaint(hWnd, (HRGN)1, -1);
|
||||
/* Use InvalidateRect to redraw client area, enable
|
||||
* erase to redraw all subcontrols otherwise send the
|
||||
* WM_SYSCOLORCHANGE to child windows/controls is required
|
||||
*/
|
||||
InvalidateRect(hWnd,NULL,TRUE);
|
||||
return (0);
|
||||
}
|
||||
|
||||
case WM_PAINTICON:
|
||||
case WM_PAINT:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue