Customization Dialog |
Post Reply |
Author | |
Marek
Groupie Joined: 02 February 2005 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 18 March 2005 at 3:59pm |
Is there any way to bring up the Customization Dialog other than right click on toolbar area or from the drop down at the end of the toolbar? ie can I bring it up from a control, or is there no call on the control to activate it?
|
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
The following routine can be used to simulate the execution of any control based on the ID of that control:
Just pass a reference to your CommandBars object and the ID to execute. The trick here is that you need the ID of the 'Customize' menu option. I don't know this off the top of my head, but it's easy enough to find out. Just place a debug message in the 'Update' event of CommandBars to output the Caption and ID of the control being updated. When you drop down the menu that has the 'Customize' option, it'll trigger the 'Update' event and you'll see the proper ID value in the debug message. Hope this helps lead you in the right direction. This was the best hack I could come up with since they didn't provide a basic method for this. Enjoy! |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
The ID is 35001. All you need to do is add a control with ID 35001 as you would any other control.
|
|
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 |