Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

System tray application leaves a button on taskbar

Hi,
I've created a small dialog program that minimises and runs in the tray. When the program runs, it minimises itself to the tray o.k, however when I restore the program, it leave a button on the task bar. Further to this, when I re-minimise my program, the button remains on the taskbar until I click on it.    I can't figure out what why this behavior is occuring. Can someone provide any clues?

Regards, GavinS
0
GavinS
Asked:
GavinS
1 Solution
 
Erick37Commented:
Since you access the form thru the system tray icon, set the form's ShowInTaskbar property False.
0
 
GavinSAuthor Commented:
Thanks-
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now