Restore invisible CMFCToolBar from registry

  • Thread starter Thread starter Yan Yang
  • Start date Start date
Y

Yan Yang

Guest
The visibility of CMFCToolBar is saved in registry by calling SaveState() when closing the application. However when reopening the application, LoadState() is called to restore the status of the toolbar, but the invisible toolbar is shown despite the fact that the value of "IsVisible" of the BasePane is FALSE. How to keep the hidden toolbars invisible after reopening the application?

Thanks in advance.

Continue reading...
 
Back
Top