Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize Application does not collapse on task bar!

Status
Not open for further replies.

khanh

Programmer
Aug 15, 2002
6
US
Hello,

Our application program when click on minimize button does not fall on to windows task bar but hidden behide windows task bar. Users end up with more then one of same program, because they thought they closed program instead of minimized. Any idea? Please help.

Thanks,
Khanh
 
Check the forms ShowInTaskBar Property and make sure that it is set to true. Hope this helps Anything is possible, the problem is I only have one lifetime.[thumbsup2]
 
There is a way to prevent users from running more than one instance of the application using the FindWindow function of user32


Kevin
 
Or, of course, the somewhat easier App.PrevInstance property...
 
<grin>

Classic case of not seeing the woods for the trees. Happens to us all.
 
Thank you for responding,
But I already try that ShowInTaskBar = TRUE and the application is not show in task bar. Other suggestion?
Thanks,
Khanh
 
Make sure your borderstyle is 1 (fixed single) or 2 (sizable). Having it set to 3,4, or 5 will cause it to not show in taskbar.
 
I'm having the same problem and the border size is set to 2 and ShowIn Taskbar is set to true.

My operating system is Windows 2000 and I'm wondering if that's the problem. When I click on the ShowIn Taskbar property it references the Windows 95 taskbar. Any ideas?
 
Thanks again,

The border size is also set to 2.
We started the application with a startup module and call the form to show with &quot;frmMain.show vbModal&quot;.Any other ideas?
Khanh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top