troubleshooting Question

Help menu

Avatar of TungVan
TungVan asked on
System Programming
2 Comments1 Solution351 ViewsLast Modified:

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


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros