Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!ginosko!uunet!mcsun!unido!ztivax!tumuc!lan!rommel From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Newsgroups: comp.windows.ms Subject: Zoomed windows and icons ? Message-ID: <836@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 10 Oct 89 15:26:04 GMT Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Distribution: comp.windows.ms Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 28 At this time I write an application that does heavily use child windows in its client area. Therefore I need to implement some "Stack" and "Tile" commands into our user interface. To resize and move the childs to form a stack is not a problem, it works fine if I do not zoom some windows to maximum size. If the user maximized one, I need to restore them first with ShowWindow(hWnd, SHOW_RESTORE) and then move/size them with SetWindowPos(..) or MoveWindow(..). This has the not very nice optical effect, that the window is first restored to the size/position it had before it was maximized and then is moved/sized to its new position in the windows stack. If the program runs on a slow 286 with a very high resolution graphics card (e.g. Wyse 1280x800) this is not acceptable. What can I do to restore a maximized window directly to a new position and size without the intermediate step ? The same problem occurs, if I want to open an Icon to a new position and size rather than to its previous size and position. And it's the same problem with toplevel windows (consider a screen tiler or stack utility). Has anybody a solution for this problem ? Thanks in advance, Kai Uwe Rommel Technische Universitaet Muenchen West Germany