How to add XtpControlCheckBox |
Post Reply |
Author | |
Atul
Newbie Joined: 02 May 2008 Location: India Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 07 August 2009 at 2:55am |
Hi,
How to add CXtpControlCheckBox to CXtpToolBar ?, i did something like this CXTPToolBar m_wndToolBar; CXTPControl* idx_lnv = m_wndToolBar.GetControls()->Add(xtpControlCheckBox,ID_LNV_CHECK); I get the check box but, I want it to be interactive, that is the user should be able to check it and uncheck it. How to achieve this ? Regards, Atul |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Add COMMAND and UPDATE_COMMAND handlers. Please start learning from our sample - its very basic thing.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
cuisinart
Groupie Joined: 31 January 2012 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Sorry to bring this up again, but I've been wondering the same thing. Yes, it's basic to the author of the software, but to a new user it's not obvious, especially because many of us are coming from using DDX methods and UpdateData() to get values of controls in a dialog, but it's not clear if this exists for these XTP controls, it doesn't appear to.
Looking in the major example for these type of toolbar controls: CommandBarControls None of the controls are instrumented. The checkboxes do not check, the sliders go nowhere, etc. This is where i'd expect the example on how to handle the messages. Is there a better example we should look at? thank you!
|
|
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 |