开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜