简体   繁体   English

MFC(Windows Mobile)。 如何创建带有自定义图像和标签的单选按钮,用于检查和未检查状态?

[英]MFC (Windows Mobile). How to create a radio button with custom images and labels for checked and unchecked state?

I tried to create a custom button class and use it. 我试图创建一个自定义按钮类并使用它。 But it works for CBitmapButton class only. 但是它仅适用于CBitmapButton类。 Is it possible with subclassing of radio button? 单选按钮的子类化有可能吗? My current temporary solution is to extend my custom button class by adding the radio button functionality. 我当前的临时解决方案是通过添加单选按钮功能来扩展自定义按钮类。

我还没有找到解决方案,所以我创建了一个看起来像单选按钮的按钮

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM