功能包,MFC功能区复选框,CMFCRibbonCheckBox [英] Feature Pack, MFC Ribbon CheckBox, CMFCRibbonCheckBox

查看:508
本文介绍了功能包,MFC功能区复选框,CMFCRibbonCheckBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

已在功能区面板上放置了一个复选框,单击该复选框不会切换按钮状态.尽管在光标悬停在复选框上时控件已突出显示,并且每次单击鼠标时都会在屏幕上标记该框,但这仍然是可行的.控件的click事件始终显示出要清除的状态,我想框架应注意复选框的状态更改和存储.尝试将其定义为CButton也没有帮助.看来这是一个错误,我想知道是否有办法解决它.

请注意,
Reza Bemanian

Hi,

Have placed a checkbox on a ribbon panel, clicking on the checkbox does not switch the button state. This is despite the control being highlighted with the curser hovering on the check box, and showing the box being marked tmeporarily each time the mouse click takes place. The click event for the control alway shows the state to be clear, and I suppose the framework should take care of the state alteration and storage for the check box. Trying to define it as a CButton, was not that helpfull either. It looks like this is a bug, and I was wondering if there is a way to overcome it.

Regards,
Reza Bemanian

推荐答案

我遇到了完全相同的问题,找不到任何有帮助的文档.我查看了在新项目中创建的ID_VIEW_STATUS_BAR复选框,但无法弄清楚它如何连接以打开和关闭状态栏.任何与此有关的帮助将不胜感激.

Brian!
I am having the exact same problem and I can't find any documentation that helps.  I've looked at the ID_VIEW_STATUS_BAR check box that gets created in a new project but I can't figure out how it connects to turn the status bar on and off.  Any help working with this would be greatly appreciated.

Brian!


这篇关于功能包,MFC功能区复选框,CMFCRibbonCheckBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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