You could use Show and Hide of your main form. Pierre
> I have a WinForms application that minimizes into the System tray via a NotifyIcon >class. I want to restore my window when the user clicks on the icon in the system >tray back to the size and location it was before it was minimized. I don't see any >Winforms method to restore the window like there was in WIN32 i.e. >ShowWindow(SW_RESTORE); How do I do this in WinForms ? > > Thank You > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.