troubleshooting Question

How do I minimize the main form but stil keep a taskbar icon?

Avatar of bvanmatre1
bvanmatre1 asked on
Editors IDEs
12 Comments1 Solution598 ViewsLast Modified:
I am using C++ builder 2007.  I have an application that starts with a main form, but opens sub-forms.  I'd like to do something like the following from the main form:

...
TMyForm* f = new TMyForm(this);
Visible=false;
f->ShowModal()
Visible=true;
...

When I do this, however, the task bar icon for my application goes away.  Minimizing the TMyForm puts it into a little icon above the start button.  

I want to keep a single taskbar icon for my application even if I set the main form to not be visible.  How do I do such a thing?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros