>Hi Fred,
>
>>Oh, it was just a thought, I hadn't tried it yet. (VFP6/SP3) But I don't think just setting the WindowState property actually does the re-sizing, does it?
>
>It fires the Moved and the Resize events. If you take out the Visible = .F. line, it works, but I don't feel like showing this akwardness to users.
>
>What I'm trying to do is save the size and postion of the form. If the form is maximzed, I want the form to come in maximzed, and when it is restored, the form states should go to the size and position it was at before it was maximized and closed.
OIC. I was going to suggest that you move the form off-screen, but that won't do you much good on saving current position, now will it?