다음을 통해 공유


CWnd::OnCancelMode

The framework calls this member function to inform CWnd to cancel any internal mode.

afx_msg void OnCancelMode( );

Remarks

If the CWnd object has the focus, its OnCancelMode member function is called when a dialog box or message box is displayed. This gives the CWnd the opportunity to cancel modes such as mouse capture.

The default implementation responds by calling the ReleaseCapture Windows function. Override this member function in your derived class to handle other modes.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::Default

ReleaseCapture

WM_CANCELMODE

Concepts

CWnd Members