Questions tagged [notifyicon]

Specifies a component that creates an icon in the notification area. This class cannot be inherited

Specifies a component that creates an icon in the notification area. This class cannot be inherited

361 questions
0
votes
0 answers

Run a Program even if in system tray vb.net

*I have a program that copies files from one directory to the other. I want it to run when minimised and an icon should show in the system tray so I created these codes. The minimise and system tray icon shows but AS SOON AS IT IS MINIMISED, THE…
MordC
  • 61
  • 3
  • 11
0
votes
1 answer

VB.NET NotifyIcon.ShowBalloonTip not always showing

I have been working on an applicatin that if the network connection is down the application's notification icon is supposed to show a balloon tooltip. This application will also show the balloon tooltip when the network connection is…
Niroti
  • 1
  • 1
0
votes
0 answers

Make a context menu on a NotifyIcon ALWAYS show hotkey underscore

I appreciate that when asking for help on this forum, the etiquette is to show what you've tried to do and then explain what's not working; instead of just asking "how do you do XYZ" - but this question is a bit of the latter ... so not sure if this…
Tall Tyke
  • 171
  • 1
  • 3
  • 14
0
votes
1 answer

What is the minimum timeout of the balloon message?

I'm using Notification Icon to get my application to show message from the system tray: a pop-up/balloon message(s) are showed when I called I tried to set it to 100 miliseconds but it doesn't work - the notification is showed longer than what I…
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
0
votes
0 answers

Neither the Click event nor the MouseDown event fires in the ModernButton. Why not?

I'm trying to combine the NotifyIcon-WPF and ModernUI for WPF into a new, simple WPF app. This is a proof-of-concept type of app. At this point I'm not using MVVM; everything at this point is code-behind. I'm trying to get a modern button to close a…
Rod
  • 4,107
  • 12
  • 57
  • 81
0
votes
3 answers

How to Know if Mouse has Left the NotifyIcon

You know that the NotifyIcon does not have MouseLeave event. So, is there any way to know if mouse has left the NotifyIcon? Edit: Actually, I want to show a message when the mouse hovers the NotifyIcon and I want to show another message when the…
Mohsen
  • 971
  • 2
  • 11
  • 29
0
votes
1 answer

Is it possible for a single app to have two notifyicons?

Is it possible for a single app to have two notifyicons? How can this be done properly? This will be our interim solution until we get to phase 2 where the app will be split into two.
sjlewis
  • 780
  • 2
  • 13
  • 25
0
votes
1 answer

Setting the Text of a NotifyIcon: Can it make the icon flicker if done often with same text?

My program does every few seconds: icon.Text = message; Often with the same message. QUESTION: Does it make sense to only do it when message is different from last time? In other words, can the code below ever prevent some flickering, or is it…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

A menuitem with a RadioButton in a C# notifyicon application

I am writing a C# NotifyIcon Application with SharpDevelop. I have three menu items listed, and I would like to add a check box or radio button next to one item to indicate that this item is active. I have tried the code below but there it does not…
Danny
  • 1
  • 1
0
votes
1 answer

How do I show shell notify icon balloon tool tip on demand?

My aim is to create a shell notification icon, and make it display a balloon tool tip when demanded. I wrote the following code. bool SystemTrayIcon::Create(const std::wstring & Tip, HWND …
hkBattousai
  • 10,583
  • 18
  • 76
  • 124
0
votes
0 answers

ContextMenu on NotifyIcon with C# and Windows CE

I have a C# application running on Windows CE 6.0 with CF 3.5, I think. The application starts minimized in the system tray with an icon. It's working so far but now I want to add context menu to this icon and I really don't get behind the secret…
0
votes
0 answers

Notify Icon appears to be disposed after running batch file

I have a WinForms application in VB.net with a NotifyIcon with ContextMenu attached. For some reason when I click the menu item to set the main form as Me.TopMost = false, then copy the batch file to the PC and run it, the NotifyIcon seems to get…
ganjeii
  • 1,168
  • 1
  • 15
  • 26
0
votes
1 answer

Overriding NotifyIcon in .NET

I'm trying to override click events on NotifyIcons in .NET. The problem is the class is sealed and cannot be inherited. The functionality I'd like to attain is rather than using a context menu to control the application, I'd like to doubleclick the…
lfc
  • 1
0
votes
1 answer

How to change background color and text of notifyIcon component

How to change background color and text of notifyIcon component?
Davoss
  • 21
  • 3
0
votes
2 answers

NotifyIcon onClick event not firing

Could anyone tell me why the onclick event in this code isn't working? Everything else works. Just the onclick event isn't! Also, how can I pass the fileName so it can be used like this: BalloonTipText=FileName Code: Delegate Sub…