Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using CheckMenuRadioItem to control the selection of a menu item. The app I'm writing is a Win32 project. I'm trying not to use ATL or MFC. The reason for this is because I'm trying to keep my code as simple as possible.

Anyway, the problem I am having is that when I use this function, it turns my checkmark icons in the menu item into ugly square radio buttons. Why on Earth would Microsoft do this? How do I fix this?

Many thanks! This site is great!

:-O
Posted

1 solution

You have to paint the control yourself. And why on earth would you want to NOT use the frameworks available to you?
 
Share this answer
 
Comments
weylspinor 17-Sep-10 5:39am    
I'm kind of a novice at Windows. So I was assuming that these kinds of problems had already been solved a long time ago without having to use ATL and MFC. That's the only reason, really. It's kind of intimidating, when you're just starting out, to see all these files that you have no idea what they are for. I'm a bit of a minimalist, as a habit.

Would you mind pointing me to a tutorial on how to paint the control myself?

Many thanks!
weylspinor 17-Sep-10 5:40am    
Unless of course you recommend just using ATL or MFC. And, by the way... that's the confusing thing... which one should I use?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900