I'm using VC++ 2005 and in my application I have a toolbar with some button inside. The button IDs are not replicated inside a menu. The problem is that I cannot find how to a add a message handler for my buttons (of course I can write the code manually).
I see that right-clicking on a menu item I can choose Add event handler but there isn't the same commad when I right-click on a toolbar button. Also, on the message section of the property window of the class (CMainFrm for example) the command messages of the toolbars are not listed.
Thanks

How to add an event handler for a toolbar button
G.Peters
Please use http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 to report bugs.
Also, make sure you post the bug link so that other can follow on the progress.
Thanks, Ayman Shoukry VC++ Teamdsaniket
pooya
Select class name in the Class View, click Properties tab. In the Properties View there are four buttons in the top part: Properties, Events (contains all control IDs, including toolbar buttons), messages (Windows messages) and Overrides (virtual functions).
monfu
jayant_jkn
They decided it is not important enough