CWnd::OnNcPaint 

afx_msg void OnNcPaint( );

Remarks

The framework calls this member function when the nonclient area needs to be painted. The default implementation paints the window frame.

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

CWnd OverviewClass MembersHierarchy Chart

See Also   WM_NCPAINT