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(CsUIBaseMDIFrame, CMDIFrameWnd)

  ON_WM_DESTROY()
  ON_COMMAND(ID_HELP_FINDER, CMDIFrameWnd::OnHelpFinder)
  ON_COMMAND(ID_HELP, CMDIFrameWnd::OnHelp)
  ON_COMMAND(ID_CONTEXT_HELP, CMDIFrameWnd::OnContextHelp)
  ON_COMMAND(ID_DEFAULT_HELP, CMDIFrameWnd::OnHelpFinder)
  ON_UPDATE_COMMAND_UI(ID_INDICATOR_TIME, OnUpdateTime)

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


TungVanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

krbatgeCommented:
>>CMDIFrameWnd::OnHelpFinder

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!
krbatgeCommented:
Actually, the file to look in is probably called "MDIFrameWnd.cpp"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.