MFC Visual c++ Persist the size of docking panes on close and reopen?

246 Views Asked by At

Hi I would like to know the methods in which dockable pane sizes in MFC can be persisted over sessions? Like the class to use or documentation relating to that will be helpful.

1

There are 1 best solutions below

3
Andrew Komiagin On

By default, MFC Feature Pack based application automatically saves the current states of windows, ribbons, menus and toolbars to the registry when application exits, and loads them at startup. This is implemented in SaveState() and LoadState() methods of CWinAppEx class.