Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - MDI and multiple toolbars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI and multiple toolbars

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


Joined: 30 May 2003
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Larry Quote  Post ReplyReply Direct Link To This Post Topic: MDI and multiple toolbars
    Posted: 10 May 2004 at 3:29pm

Hello,

I have an MDI application with several toolbars. On first run I want certain toolbars to display with each doc type. When each doc type closes I need to save the toolbar data to a file or the registry. After first run I need to load the toolbar data and display the same toolbars for each doc type.

Any suggestions on how to accomplish this?

Larry

Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
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: 22 October 2004 at 8:31am
I would suggest creating all of your toolbars and simply hide/show the appropriate toolbar for each type of document. You then use LoadCommandBars and SaveCommandBars methods to store\restore your commandbar layout.
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.039 seconds.