Share via


CFrameWndEx::OnClose

The framework calls this method to close the frame.

afx_msg void OnClose();

Remarks

If the frame is in print preview mode, it sends a Windows message to close the print preview; otherwise, if the frame hosts an OLE client, the client is deactivated.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart