How to popup menu using SendMessage?
I have pop-up menu, for example:
- "..."
- "PopUp-menu"
- "Menuitem1"
- "Menuitem2"
- "..."
How to popup "PopUp-menu" using SendMessage function? Is it possible? course Menuitem has ID, and POPU开发者_StackOverflowP menu - has not
the "ID" of a popup menu is its handle, but it's not clear what you mean by "popup the menu using SendMessage
". What you would normally do is to get the handle of the "PopUp-Menu" and then pass that to TrackPopupMenu rather than SendMessage
.
精彩评论