mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- initial default message handler for WM_SYSCOLORCHANGE messages
svn path=/trunk/; revision=39680
This commit is contained in:
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user