John,
I think what you want to look at is the .ShowInTaskBar property. Go ahead and Minimize the Form, but set this property to false. When you're ready to change the WindowState to Normal, then set .ShowInTaskBar back to true.
this.WindowState = FormWindowState.Minimized;
this.ShowInTaskbar = false;
this.WindowState = FormWindowState.Normal;
this.ShowInTaskbar = true;
~~Bonnie
>Hi all,
>
>I'm having a problem where when my form is minimized I am sending it to the sys tray and visible false ( or form1.hide(); )
>On restoring from the sys tray I am setting the form to visible true ( also tried form1.show(); )
>
>The form name is showing in the taskbar but not on the screen, even under other forms.
>
>If I use the taskbar to maximize the form it then shows up, but set it to windowstate normal it disappears.
>
>Any ideas what trick I am missing.
>
>Many thanks John