🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3510

Restoring an MDI

#3510
From: Mike Flora
Date: Tue, 14 Nov 1995 05:48
23 lines
1442 bytes
Would anyone happen to know how to restore a Multiple Document Interface once it 
has been unloaded.

What I want to do is this:
I have an MDI. It can have both Icons as well as Child Windows on it. When the 
user exits the program, he can have the option of saving the "Layout" of the 
screen. Then when the program is started again the screen will be EXACTLY 
restored to how it was when he left. (This is what the Program Manager does.)

I can handle all of the Child Windows (non-minimized) just fine. 

I can handle all minimized Windows (Icons), but I don't know how to place the 
Icons in a specific location. When I try to "move" an Icon, I get an error 
stating that you cannot move a minized window or something like that.

I am hoping there is an API call or something I can do to accomplish this. 

It must be possible, right? Because I see eveytime I use Windows 3.x.

Any suggestions would be greatly appreciated.

Thank you.
Technical Details
Message-ID: <NEWTNews.22677.816331732.mflora@onenet.access.one.net>
Path: arc1-ca.pugleaf.net!news.one.net!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.one.net!news
From: Mike Flora <mflora@one.net>
Newsgroups: comp.windows.ms.programmer,comp.lang.c++
Subject: Restoring an MDI
Date: Mon, 13 Nov 95 22:48:17 PDT
Organization: OneNet Communications (one.net)
Message-ID: <NEWTNews.22677.816331732.mflora@onenet.access.one.net>
NNTP-Posting-Host: port-3-29.access.one.net
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Newsreader: NEWTNews & Chameleon -- TCP/IP for MS Windows from NetManage