• Advertisement

Archived

This topic is now archived and is closed to further replies.

Context menus (TrackPopupEx)

This topic is 5465 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m implementing an editor for my game and trying to use TrackPopupEx() to create a context menu for on-screen objects. The problem is that when I call TrackPopupEx from with-in WM_CONTEXTMENU the menu appears but is only a few pixels wide - but is the correct height, I can even see items hilighting as I move the mouse over them. Anybody got any ideas?

Share this post


Link to post
Share on other sites
Advertisement
you need to obtain the menu handle in one of the two ways described on trackpopupmenuex doc page.

Share this post


Link to post
Share on other sites

  • Advertisement