Jump to content
  • Advertisement
Sign in to follow this  
UriKiller

Menu problem

This topic is 4869 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!