How to override File Save and File Save As
Posted on 1999-07-29
I'm using VC++5.0.
I'd like to override File Save and File Save As which are
called by File menu item.
For this, I installed override function using ID_FILE_SAVE and ID_FILE_SAVE_AS of File menu on CMainFrame.
And in override function, OnFileSave(), I called pDoc->OnFileSave(). But when I select File Save menu item, CMainFrame::OnFileSave() is never called.
How can I call CMainFrame::OnFileSave() and finally pDoc->OnFileSave() when I select File Save ?
Thanks in advance.