Beginner query

Hi everyone

I am extremely new to visual c++ and really sorry if I happen to post a dumb query. I have this code that I have been given as part of my internship. I need to figure out what different parts of the code is doing.

In the resouce view for the visual c++ project, I have an  IDR_toolbar and some icons in that. I was wondering if there is a way to find out what parts of the code are being called when a particular icon is selected from the toolbar in the exe.

Thanks a lot for your time
William



Answer this question

Beginner query

  • B*C

    This is because a WM_COMMAND message is sent from the Toolbar. The mainframe receives this message and uses command routing to parse all classes in the sequence of the doc/view architecture to deliver the message. Read the Technical Notes (TN) of the MFC to learn more about command routing.

  • Beginner query