Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Resetting Toolbar Layout...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resetting Toolbar Layout...

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: Resetting Toolbar Layout...
    Posted: 01 March 2005 at 10:04am

Does anybody know how to reset toolbars to their default locations?  It would be easy enough to not call LoadCommandBars during OnCreate(), but that would require exiting and re-entering the program.  The code that's in OnCreate() doesn't really need to be called again, does it?  Should I walk the command bar list, delete all the toolbars, then recreate them without the LoadCommandBars()?  That seems inefficient, but so far, it's the only solution i've got...

Thanks!

- David Little

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.140 seconds.