如何从bullet更改图标以检入CheckMenuRadioItem [英] How to change icon from bullet to check in CheckMenuRadioItem

查看:73
本文介绍了如何从bullet更改图标以检入CheckMenuRadioItem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用CheckMenuRadioItem来控制菜单项的选择。我正在编写的应用程序是一个Win32项目。我正在尝试不使用ATL或MFC。这是因为我试图让我的代码尽可能简单。



无论如何,我遇到的问题是,当我使用此功能时,它会将菜单项中的复选标记图标变为丑陋的方形单选按钮。为什么地球会微软这样做?我该如何解决这个问题?



非常感谢!这个网站很棒!



:-O

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

推荐答案

你必须自己绘制控件。为什么你不想使用可用的框架?
You have to paint the control yourself. And why on earth would you want to NOT use the frameworks available to you?


这篇关于如何从bullet更改图标以检入CheckMenuRadioItem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆