MFC update: how to disable loading pane docking state from registry
-
I'm playing with the new mfc features from the mfc update. I have a new wizard-generated application. Somehow the state of the docking panes is stored in the registry (I can find it there) but for the life of me i can't figure out where in the code this functionality is implemented or more importantly how to turn it off. Any ideas?
-
I'm playing with the new mfc features from the mfc update. I have a new wizard-generated application. Somehow the state of the docking panes is stored in the registry (I can find it there) but for the life of me i can't figure out where in the code this functionality is implemented or more importantly how to turn it off. Any ideas?
To prevent your app from restoring the dockstate, in the constructor for your CMainFrame add: EnableLoadDockState(FALSE);
-
To prevent your app from restoring the dockstate, in the constructor for your CMainFrame add: EnableLoadDockState(FALSE);