The framework calls this member function when the nonclient area needs to be painted.
afx_msg void OnNcPaint( );
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.
This method is not supported in smart device projects.