Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Persisting the MDI Child window state Collapse All
Subject Author Date
Neville Franks Sep 14, 2003 - 8:40 PM

Hi at present the state of MDI child windows is not retained along with the other window informationm across invocations of an application. For example if I’ve maxmimized an MDI window, then next time the app starts I would like it to be maximized again. Ideally this should track the minimized/restored/maximized state a) when the application is closed, b) when the last MDI window is closed. Then the next an MDI window is opened it will restore to this LRU state. Is this something you could add to the Prof-UIS framework, or should I write code to do this?

Technical Support Sep 18, 2003 - 8:57 AM

Dear Neville,

We are sorry for the delay with replying to you.

Serialization of the recently used state of an MDI child window is a very specific task for each particular application. It is impossible to universally identify MDI child frames for applications of different types (neither with MFC CRuntimeClass nor by document path strings). Some apps may have CMDIChildWnd-derived objects which hold both CView-based windows (with/without document objects associated with them) and non-CView objects.

We can help you cope with this.