Add a property to each Form - call it FormText. In it store the desired
Form Text. When you want to "hide" the form, set it's Text property to "".
Then you want it to show up, set it back to the FormText value.
--
<ctacke/>
www.opennetcf.org/sdf
Winner of the 2004 Pocket PC Magazine Best Software award
"ajit goel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi;
>
> Many Thanks for all your kind replies and time. However the situation
> for us is a bit different.
>
> We have a FormFactory class which is responsible for creating forms,
> caching and closing them. We are all averse to changing this class.
> This FormFactory does not hide the parent form when a new form is
> opened instead it opens the new form on top of the parent form. Due to
> this, various forms show up in the form of stack in the TaskBar.
>
> What we are looking out for is a kind of a property which we can
> implement for each form, something like "ShowInTaskBar" property as in
> Windows Application. If the ShowInTaskBar property is false for a form
> it will not show up in the taskbar else it will show up.
>
> Any pointers and suggestions on how to go about implementing this are
> highly welcome.
>
> Kind Regards;
>
> Ajit Goel