Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - DeleteAll
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DeleteAll

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


Joined: 02 March 2006
Location: Sweden
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Peso Quote  Post ReplyReply Direct Link To This Post Topic: DeleteAll
    Posted: 02 March 2006 at 6:42am

I use a function to "reset" a commandbars control completely and add all menu bars and tool bars.

But when using DeleteAll method, even the CommandBar(1) of Type Menubar is deleted.

How to add a Menu bar to Commandbars control again? Using Add method only adds a tool bar, not menu bar...

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: 02 March 2006 at 3:54pm

Unfortnuatelly no way... :( 

loop all toolbars and delete all except MenuBar.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 12:23pm
You can now add the menubar using the AddMenuBar method if it was deleted.
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.047 seconds.