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
6
votes
2 answers

Does NotifyIcon have a MouseDown equivalent?

I have a NotifyIcon in the system tray. How can I detect when the user has left-clicked down on it? I assumed the MouseDown event would be what I want to use but it only handles right click and middle-button click. For left-click, it only fires…
Skoder
  • 3,983
  • 11
  • 46
  • 73
6
votes
1 answer

How to show Windows 10 notification toast from VBA

I'd like to know the easiest way to show notification toast in windows 10 from VBA. I didn't found a good answer to this. I found a really simple way to create notifications from PowerShell here. But I can't get it to work from VBA because I didn't…
Edu Campos
  • 63
  • 5
6
votes
1 answer

How do you get a different Context Menu if you Lt-Click or Rt-Click on a notify icon?

I have a application that is based out of the system tray. I have a nice context menu if you right click on it however I would like a different context menu to show up if you left click on it. Right now I make the different menu show up with…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
6
votes
3 answers

How to run an "empty" Windows Application that only has a NotifyIcon?

I want to make an Application that only has a NotifyIcon. It doesn't need to have at all a "Main" Form. When I want to achieve something like this, I just create an invisible form and run it, but would there be a more "elegant" way of doing this,…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
6
votes
3 answers

drag and drop on NotifyIcon in tray in C#

I am trying to create a C# application that runs in tray where I can drop files on it's icon. Is there any way to get the path of the file dropped on the System Tray icon? System.Windows.Forms.NotifyIcon does not have any events related to drag and…
Gabriel Diaconescu
  • 1,769
  • 3
  • 21
  • 31
6
votes
2 answers

c# catch clipboard changes, wont work if form minimized to tray

i have a problem using the "Catch Clipboard Events code" found on this link : Clipboard event C# the code works great only if the form stays in the foreground, not minimized to tray BUT: if you add a notifyicon and minimize the form to tray and turn…
lebhero
  • 1,391
  • 5
  • 18
  • 35
6
votes
2 answers

How can I close a NotifyIcon BallonToolTip from code?

We are using a NotifyIcon to alert the user when they receive a new message that needs their attention. In the event that someone else gets to the message first, the notify icon should get hidden again, however I am having a problem with figuring…
Rachel
  • 130,264
  • 66
  • 304
  • 490
5
votes
4 answers

How can I tell if a Balloon tip in the system tray has closed?

I have an application that uses a NotifyIcon in the tray to hide/restore the application, as well as pop up notices to the user of application events. My application has a notification queue, and I use the NotificationIcon.BalloonTipClosed event to…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
5
votes
3 answers

Why aren't Shell_NotifyIcon balloon tips working?

According to everything I've seen, the following C++ program should be displaying a balloon tool tip from the tray icon when I left-click in the application window, yet it's not working. Can anyone tell me what I'm missing? This is on XP with…
Bill Brooks
  • 751
  • 1
  • 10
  • 30
5
votes
2 answers

Make visible baloonTipText until it is clicked

I have a NotifyIcon in my program which displays a baloon tip in the taskbar. I wrote code as notifyIcon1.Icon = new Icon(SystemIcons.Application, 40, 40); notifyIcon1.Visible = true; notifyIcon1.Text = "Test Notify Icon…
sushma
  • 333
  • 1
  • 4
  • 13
5
votes
3 answers

Windows notification created with NotifyIcon shows "microsoft.explorer.notification" and GUID

We have written a WPF desktop application for Windows. The application launches on start-up and mostly runs in the background, but has a UI which is accessible via the system tray. Occasionally the app needs to notify the user of something, and so…
Robert N
  • 1,156
  • 2
  • 14
  • 32
5
votes
1 answer

NotifyIcon.BalloonTipClicked event and mouse buttons

I've got a NotifyIcon that signals downloadable application updates. I want the download page to open on a Left Click on the NotifyIcon and on a Left Click on the NotifyIcon balloon (on screen for 10 seconds). However, when I handle the…
David Rutten
  • 4,716
  • 6
  • 43
  • 72
5
votes
0 answers

Handling click events of multiple TaskbarIcon ShowBalloonTips

I am using the Hardcoded.Net NotifyIcon to have a Taskbar Icon, Taskbar Context Menu and show some (Windows native-looking) notifications from time to time. For my application I need the ability to show different notifications (i.e. BalloonTips) and…
casaout
  • 1,819
  • 3
  • 24
  • 54
5
votes
0 answers

WPF notifyicon context menu using applicationcommands is disabled

I have a WPF PRISM application with a mainwindow based on a ribbinwindow. When I right click the icon in the icontray the exit menu is disabled. Can someone show me how to make it enabled and handle the close event appropriately. I am showing the…
Philip Stuyck
  • 7,344
  • 3
  • 28
  • 39
5
votes
1 answer

Annoying NotifyIcon.ShowBalloonTip behaviour

Is it me, or something nasty going on here about NotifyIcon. Whatever I give to timeout parameter of NotifyIcon.ShowBalloonTip method it is shown for only certain amount of time. Which is around 9 secs on win7 and win 8.1 and around 4 secs on…
Tolga Evcimen
  • 7,112
  • 11
  • 58
  • 91
1 2
3
24 25