How to make the NotifyIcon always visible

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

As the subjectline says: How to make the NotifyIcon always visible. In my application I use a NotifyIcon, but this icon tends to "disappear" (it's hidden), but I want to make it always visible. I know it can be done in the properties of the taskbar. I want to force it in program-code. How can I make this possible

Thanks in advance
Best regards

Michiel Doeven
 
Hi Michiel,

If the notify icon in your program is set to "hide when inactive" you may
shown it by changing some properties on that object, as a workaround you
may use a timer to update the text property of the notifyicon
periodically(note, you need set difference text to the Text property to
force the NotifyIcon class updating).

Is it helpful to resolve your problem?
If you have any questions on my suggestion, please feel free to reply this
thread.
Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.
 
Back
Top