Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The framework calls this method when it draws the non-client area.
virtual BOOL OnNcPaint(
CWnd* pWnd,
const CObList& lstSysButtons,
CRect rectRedraw
);
Parameters
[in] pWnd
A pointer to the window whose non-client area the framework draws.[in] lstSysButtons
A list of system buttons. These are also known as caption buttons.[in] rectRedraw
A rectangle that specifies the boundaries of the non-client area.
Return Value
A reserved value. The default implementation returns FALSE.
Remarks
Override this method in a derived visual manager to customize the appearance of the window frame and caption buttons.
Requirements
Header: afxvisualmanager.h