WM_NCPAINT

2.x

WM_NCPAINT

The WM_NCPAINT message is sent to a window when its frame needs painting.

Parameters

This message has no parameters.

Return Value

An application should return zero if it processes this message.

Comments

The DefWindowProc function paints the window frame.

An application can intercept this message and paint its own custom window frame. The clipping region for a window is always rectangular, even if the shape of the frame is altered.

See Also

DefWindowProc