Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Add or Remove Buttons (combo boxes)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add or Remove Buttons (combo boxes)

 Post Reply Post Reply
Author
Message
mzartler View Drop Down
Newbie
Newbie


Joined: 27 August 2009
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mzartler Quote  Post ReplyReply Direct Link To This Post Topic: Add or Remove Buttons (combo boxes)
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.