![]() |
Toolbar customization... |
Post Reply ![]() |
Author | |
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() Posted: 11 March 2004 at 8:53am |
I hope this is an easy question, but how can I add ALL the toolbar buttons to the customize box? I also would like to do it for menus, so that the user could create his own menu based on toolbar options. Is that even possible? DevStudio can do it. Thanks! David Little Houston, Texas |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
In the ActiveX version you just add all of the controls to the
DesignerControls member of the CommandBars control and then you need to
call the EnableCustomization method so the customize feature will be
enabled. In ActiveX, any controls in the collection of
DesignerControls will be in the customize window. Maybe you can
translate this to MFC version
![]() |
|
![]() |
|
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() |
Thanks! The MFC version (for REAL programmers CXTPCustomizeCommandsPage* pCommands = dlg.GetCommandsPage(); pCommands->AddToolbarCategory("Mainframe",IDR_MAINFRAME); // repeat for every toolbar....
Thanks again.. |
|
![]() |
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 |