ShowInTaskBar property

G

Guest

Form.ShowInTaskbar Property is not supported in the .Net Compact Framwork.

So all forms created by the main form are showing in the task bar on
Windows CE, even if the sub-forms are modal dialogs. Setting Form.Text = ""
has no effect.

1. Create a Form1 (main form) with a button "create a new form".
2. When that button is clicked, create a new form, Form2, and use
ShowDialog() to show it as a modal dialog.
3. Run the application to show the Form2.
4. On pocket PC device, bring up the taskbar,
5. You will see both forms are listed in the taskbar, if you activate the
form1, the device seems hang because form2 is a modal dialog.

Any way to prevent the form2 showing in the task bar on a Pocket PC device?

Thanks,
Vlad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top