Home > Software engineering >  About the relation of vc6 toolbar and menu bar
About the relation of vc6 toolbar and menu bar

Time:10-11

I use vc6 write a drawing program of Windows interface, which made a toolbar, put inside the various shapes (line, rectangle, circle, etc.), similar to the vc control toolbox, but if you want to handle events need to add a menu item, toolbar and menu item id with toolbar buttons of the same, but a drawing toolbar button clearly should not need a separate custom menu items! Excuse me each great god what's the solution? Help!

CodePudding user response:

Don't understand, please map

CodePudding user response:

"But if you want to deal with the toolbar events not need to add a menu item "
The response directly by the wizard toolbar

CodePudding user response:

refer to the second floor schlafenhamster response:
"but if you want to deal with the toolbar events not need to add a menu item "
Response directly by the wizard toolbar

But the toolbar button is grey

CodePudding user response:

refer to the original poster PeterKingS response:
I use vc6 write a drawing program of Windows interface, which made a toolbar, put inside the various shapes (line, rectangle, circle, etc.), similar to the vc control toolbox, but if you want to handle events need to add a menu item, toolbar and a menu item id and the same toolbar button, but a drawing toolbar button clearly should not need a separate custom menu items! Excuse me each great god what's the solution? Help!


No relationship, it is important that you want to set a message map

CodePudding user response:

No message map is grey

CodePudding user response:

Dynamically add menu item???
  • Related