I added code in MainFrm for file closing like existing code for new file. But it does not work. What did I do wrong?
Code:COMMAND_ID_HANDLER(ID_FILE_CLOSE, OnFileClose)
LPRESULT OnFileClose(WORD, WORD, HWND, BOOL&)
{
return 0;
}
Printable View
I added code in MainFrm for file closing like existing code for new file. But it does not work. What did I do wrong?
Code:COMMAND_ID_HANDLER(ID_FILE_CLOSE, OnFileClose)
LPRESULT OnFileClose(WORD, WORD, HWND, BOOL&)
{
return 0;
}
In the above exemple you just handle a command message and do nothing in the handler function.
What do you expect to happen?
I need to get method call when file close event happens. Currently breakpoint does not work in this method.
Up