共用方式為


CWinAppEx::OnClosingMainFrame

The framework calls this method when a frame window is processing WM_CLOSE.

virtual void OnClosingMainFrame(
   CFrameImpl* pFrameImpl 
);

Parameters

  • [in] pFrameImpl
    A pointer to a CFrameImpl object.

Remarks

The default implementation of this method saves the state of pFrameImpl.

Requirements

Header: afxwinappex.h

See Also

Reference

CWinAppEx Class

Hierarchy Chart