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;
}