Hi, I have a little problem with MenuHelp.
When i open the first menu in my program (id 0) the statusbar shows the correct text, but how should I do to display another text for a popup menu that also has id 0.
Thanks, Ante:confused:
When i open the first menu in my program (id 0) the statusbar shows the correct text, but how should I do to display another text for a popup menu that also has id 0.
Thanks, Ante:confused:
the purpose of an id is to identify a particular object in your code. the id should be unique. so im wondering why you would have an id that is the same for both menu's?
If you check the wm_menuselect message the first menu has id 0 and if I have a popup menu in it, it has the same id.
hi again ante,
each of your menu's and menu items should have a unique id so that they can be identified properly when they produce a message. if you dont specify the id's when you create your menu's and menu items they will default to zero. so its up to you to adjust your code so they will have unique id's.
if you still dont understand the info im tring to get accross to you, supply some souce code of your menu and ill take a look at it.
each of your menu's and menu items should have a unique id so that they can be identified properly when they produce a message. if you dont specify the id's when you create your menu's and menu items they will default to zero. so its up to you to adjust your code so they will have unique id's.
if you still dont understand the info im tring to get accross to you, supply some souce code of your menu and ill take a look at it.