WM_NCPAINT This message is sent to a window when its non-client area must be redrawn. The default processing is to draw the border, the titlebar, the scrollbars, the shadow background, and the menubar. The client area of the window is also erased. Parameters wParam and lParam are not used.