Context menus (TrackPopupEx)

Started by
0 comments, last by Beelzebub 21 years, 1 month ago
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?
Advertisement
you need to obtain the menu handle in one of the two ways described on trackpopupmenuex doc page.

This topic is closed to new replies.

Advertisement