If you examine the Registry entry for an application that uses a CMainFrame class derived from CFrameWndEx, you will find an entry entitled 'Workspace' which contains (I think) numerous entries releating to the last layout configuration.

I have seen applications that offer the user an option of 'Save Layout'. Is there a simple, direct way to do this ?