CDocument::PreCloseFrame
virtual void PreCloseFrame(CFrameWnd*pFrame);
参数:
pFrame
含有CDocument对象的CFrameWnd的指针。
说明:
在框架窗口被删除前由框架调用该成员函数。它可以被覆盖以提供定制的清除,但要保证基类也被调用。
缺省地,PreCloseFrame在CDocument中什么也不做。CDocument派生类COleDocument和CRichEditDoc使用该函数。