The running applications tool uses the captions of top level windows to list
the tasks. A workaround therefore is to hide your main form or set it's Text
property to "" so only the current dialog is listed as currently running.
Then when your dialog closes you can reinstate the original settings.
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com |
www.opennetcf.org
"Boris Nienke" <(E-Mail Removed)> wrote in message
news:1kpcwv7y7gen8$.9tr933aeqdqt$.(E-Mail Removed)...
> Hi,
>
> strange problem:
> when i show a dialog (.ShowDialog) i expected to get a modal dialog where
> the use can enter data, press OK and will come back to the caller-form.
>
> This is true - but:
> When i open the dialog and then go to the "running applications"-window i
> can see my application AND the dialog! And when i'm using a Task-Switcher
> (like PocketPlus, vBar, WisBar, ...) i can switch back to the caller-form
> without closing the "modal"-Dialog!!! THIS IS NOT GOOD :-(
>
> Is there a way to get around this problem? Only ONE Application should be
> shown in the task-switcher - and when the user clicks on it (to switch to
> my App) the current window (for example an opened Dialog) should be
shown -
> not the main-form if a dialog is open)
>
> Please help
>
> Boris