共用方式為


CWnd::OnNcPaint

The framework calls this member function when the nonclient area needs to be painted.

afx_msg void OnNcPaint( );

Remarks

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.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::OnNcPaint

Concepts

CWnd Members