TungVan
asked on
Help menu
Hi,
I need to debug someone's program and I am having some problem (and in addition, i am beginner in mfc). The program has a help button with id = ID_HELP_FINDER
When i do a search, this is what i found:
BEGIN_MESSAGE_MAP(CsUIBase
ON_WM_DESTROY()
ON_COMMAND(ID_HELP_FINDER,
ON_COMMAND(ID_HELP, CMDIFrameWnd::OnHelp)
ON_COMMAND(ID_CONTEXT_HELP
ON_COMMAND(ID_DEFAULT_HELP
ON_UPDATE_COMMAND_UI(ID_IN
END_MESSAGE_MAP()
When I right click to go to definition of OnHelpFinder, I got 2 results. One in CWinApp and the other one in CWnd. Both are in AFXWIN.h
afx_msg void OnHelpFinder();
afx_msg void OnHelpFinder();
But I don't see any code to pop up the help windows when user click on that button??
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This means OnHelpFinder is a member of the CMDIFrameWnd class
Have a look in the CMDIFrameWnd.cpp file for the implmentation of OnHelpFinder and go from there.
Cheers!