Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

Customize Toolbar

I use GetToolBarCtrl().Customize() to customize my toolbar. But when I end the application and start it again, I will not get the toolbar that I have changed, everytime I will get the default toolbar? Does anyone know how to correctly save/restore the toolbar information when I customizing a toolbar? Than you!!!!!!!!

1 Solution
Call LoadBarState("My program tool bar") when your program starts and call SaveBarState("My program tool bar") when your program ends. The string passed in LoadBarState and SaveBarState must be the same.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now