B
Brad Ball
Hi all,
I'm new to .NET CF programming, using VB.NET, and could use some help
I've got all the basics down for createing instances of, and showing
forms, either as windows or as modal dialogs. Great. Awesome.
I also know that to keep a new form or dialog from showing up in the
Running Programs list, I just set the form's Text property to an empty
string (myForm.Text = ""). But when I do that, I lose the Application
Name at the top of the screen next to the start menu (It goes back to
reading "Start"). This makes sense I guess since I set the Text
property to an empty string, but it's not what I want to happen. I
would like for my Application Name to continue to be displayed no
matter which form is currently being displayed. To do that, I have to
set each form's Text Property = My Application Name, but then I'm back
to multiple items showing up in the Running Programs list.
There HAS to be a way to accomplish what I'm trying to do (have my
Application Name shown in the "Taskbar" regardless of the form being
displayed, and only one listing in the Running Programs list). I've
noticed several other commercial applications that behave the way I am
describing (many of the MS built in apps, PocketQuicken, and others),
so I know it can be done, but what is the secret?
Most importantly, I'd like to know if there are any "Best Practices"
in reguard to this. How do most people deal with multiple forms in
their applications? If what I am trying to accomplish is not the best
way to go about things, or if there is a generally accepted practice,
then perhaps I need to change my thinking.
Thanks in advance,
Brad
I'm new to .NET CF programming, using VB.NET, and could use some help
I've got all the basics down for createing instances of, and showing
forms, either as windows or as modal dialogs. Great. Awesome.
I also know that to keep a new form or dialog from showing up in the
Running Programs list, I just set the form's Text property to an empty
string (myForm.Text = ""). But when I do that, I lose the Application
Name at the top of the screen next to the start menu (It goes back to
reading "Start"). This makes sense I guess since I set the Text
property to an empty string, but it's not what I want to happen. I
would like for my Application Name to continue to be displayed no
matter which form is currently being displayed. To do that, I have to
set each form's Text Property = My Application Name, but then I'm back
to multiple items showing up in the Running Programs list.
There HAS to be a way to accomplish what I'm trying to do (have my
Application Name shown in the "Taskbar" regardless of the form being
displayed, and only one listing in the Running Programs list). I've
noticed several other commercial applications that behave the way I am
describing (many of the MS built in apps, PocketQuicken, and others),
so I know it can be done, but what is the secret?
Most importantly, I'd like to know if there are any "Best Practices"
in reguard to this. How do most people deal with multiple forms in
their applications? If what I am trying to accomplish is not the best
way to go about things, or if there is a generally accepted practice,
then perhaps I need to change my thinking.
Thanks in advance,
Brad