How to make the NotifyIcon always visible

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
 
Y

Ying-Shen Yu[MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top