thomas@hpkslx.mayfield.HP.COM (Thomas Dayton contractor) (02/23/91)
Hello all. I would like to be able to "capture" the X, Y position and the width and height of all child windows upon exiting my application in order to restore the environment (a la Program Manager, File Manager) the next time the app is run. Have tried using GetWindowRect(), but this only tells me the current size of the window which isn't good if the window is iconic or maximized. I really want to know the "normal" position and size of the window. Obviously Windows knows this info, since it can restore an iconized window properly, but the SDK books do not disclose where this data is stored. Do you think this is intentional? I would be most grateful if someone could tell me where this information could be obtained for a given window handle. Thanks in advance, Thomas Dayton