![]() |
How to manually uncheck toolbar buttons |
Post Reply
|
| Author | |
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Topic: How to manually uncheck toolbar buttonsPosted: 12 October 2004 at 3:01pm |
|
How do I check toolbar buttons. I have 3 buttons that I want to make to work like radio buttons. When one is checked the otherons are unchecked etc. I cannot use the CmdUI methods. But I found that it should be possible calling a xtpFlagManualUpdate flag. The code below is my best try when the last button is pressed, I expect the others to be unchecked, but they dosen't. One by one alle the buttons are checked, non of them gets unchecked. What am I doing wrong? pControl = ((CXTPControlButton*)m_ToolBar.GetControls()->FindControl (DX_COM1)); pControl = ((CXTPControlButton*)m_ToolBar.GetControls()->FindControl (DX_COM2)); pControl = ((CXTPControlButton*)m_ToolBar.GetControls()->FindControl (DX_COM3)); cpede |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |