Print Page | Close Window

Add or Remove Buttons (combo boxes)

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15059
Printed Date: 03 June 2024 at 4:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add or Remove Buttons (combo boxes)
Posted By: mzartler
Subject: Add or Remove Buttons (combo boxes)
Date Posted: 27 August 2009 at 12:16pm
Hi All,
I'd like to use the "Add or Remove Buttons" feature of the toolkit and have it set up and working for the most part.  We have two toolbars that add combo boxes.

p_tlLipsyncBar->GetControls()->Add(xtpControlComboBox, ID_LIPSYNC_ALWAYSLIPSYNCENTIREFILE);

Works great, except they are greyed out in the Add or Remove Buttons. Is there a way to support "Add or Remove" for these items added to a toolbar.
 
Any ideas?
 
Regards,
Mark



Replies:
Posted By: Oleg
Date Posted: 28 August 2009 at 3:49am
Hi,
 
After you create initial controls of Toolbar, call pToolBar->GetControls()->CreateOriginalControls(); to "commit" them.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net