本文介绍了按下和未按下对话框工具栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在对话框上有工具栏当点击工具栏中的按钮时应按下它并再次点击它应该是未按下的。这是一个对话框onupdate没有在sdi中调用我们可以通过onupdate命令在对话框中怎么做。请告诉我。
我将如何获得它是否被按下和按下它按下它应该显示像按下。
我尝试过:
m_IsLineEnabled =!m_IsLineEnabled;
i have tool bar on the dialog how when clicking on button in tool bar it should be pressed and clicking again the it should be unpressed. this is a dialog onupdate is not calling in sdi we can do it through onupdatecommand how to do in dialog. please let me know.
how i will get whether it is pressed and unpressed and while pressing it should show like pressed.
What I have tried:
m_IsLineEnabled = !m_IsLineEnabled;
推荐答案
这篇关于按下和未按下对话框工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!