Advertisement Jump to content
Sign in to follow this  
UriKiller

Menu problem

This topic is 4933 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

Hi, I am trying to make a popup menu, like the one that appears when you right click somewhere. I managed to make that menu with items that were only strings (no picture). I tried to add a picture to the items but it didn't work and MSDN said that a menu can display items using text or bitmaps, but not both. Does anyone have an idea how to do that (I know it's possible because there a programs that do that, like windows browser). [Edited by - UriKiller on July 21, 2005 6:58:30 PM]

Share this post


Link to post
Share on other sites
Advertisement
you need to do custom drawing for each menu item. Make the menu without a resource and then programatically add your items. You then need to make each of them ownerdrawn.

Cheers
Chris

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!