Visual Studio .NET 2003
This member function is called by the framework before the frame window is destroyed.
virtual void PreCloseFrame( CFrameWnd* pFrame );
- Pointer to the CFrameWnd that holds the associated CDocument object.
It can be overridden to provide custom cleanup, but be sure to call the base class as well.