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
1
vote
2 answers

C# NotifyIcon stays in tray after the Balloon Tip has been closed

after the Ballon Tip of my NotifyIcon has been close the icon still stays in tray. It vanishes only when I hover it with my mouse cursor. I have a class Notification.cs which has one component - NotifyIcon. I call it from my Console Application as…
wojtuch
  • 188
  • 2
  • 11
1
vote
3 answers

How to trigger the auto-hide icon in c#?

I have an application. If the application is not being used for a certain amount if time, it should hide. When application is hidden and we mouse-over the icon, it should be restored. How can I do this? Thanks in advance.
Mud Hut
  • 575
  • 2
  • 10
  • 21
1
vote
0 answers

asp.net notifyIcon balloon tip popup with sound

I am using asp.net notifyIcon Control for opening up Popup in status bar with asp.net windows. I also want to add sound to the popup but I am not able to add. Is there any way to add a sound, for windows base application?
Yagnesh
  • 1,123
  • 3
  • 17
  • 27
1
vote
1 answer

P/Invoke Shell_NotifyIcon supporting different NOTIFYICONDATA versions

I'm trying to invoke the Shell_NotifyIcon function [1] from C#. One parameter of the function is a pointer to the NOIFYICONDATA structure [2]. This structure contains TCHAR arrays, Pointers and also comes in 4 different versions (depending on the…
Korexio
  • 483
  • 1
  • 7
  • 19
1
vote
0 answers

WPF UserControl Hosted in Popup Window not taking focus

I'm using Philipp Sumi's Notify Icon Control, but I'm having a small issue with it, I'm displaying a custom Balloon method call _TaskBarIcon.ShowCustomBalloon(_UserControlNotification, System.Windows.Controls.Primitives.PopupAnimation.Slide,…
Emlyn
  • 700
  • 1
  • 8
  • 22
0
votes
2 answers

show context menu of notifyicon error

I am trying to show a context menu when i click on the tray icon (mnuLeft for left click and mnuRight for right click) Private Sub NotifyIcon_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrayIcon.Click If…
Remus Rigo
  • 1,454
  • 8
  • 34
  • 60
0
votes
0 answers

Hiding form to NotifyIcon closes it

When I minimze form while running in Visual Studio, everything works fine - form is hidden and restored to previous FormWindowState. However, when running outside of the IDE, suddenly form starts closing. I attached to running process, however I…
mnn
  • 1,952
  • 4
  • 28
  • 51
0
votes
1 answer

Changing style of the system tray icon at run time

I've created a system tray application using c#. And it is running successfully. Now the problem is, a notification window that has to be popped up when a particular event occurs(Not with a new icon but for the same icon which present in the…
Narmadha
  • 3
  • 1
  • 3
0
votes
1 answer

ShowBalloonTip(): message appears with delay

In Windows 7 64 bit, Visual Studio 2010 Express, C#, NET 2.0, Windows Forms, I have an option in a context menu that hides my application (or minimizes it) to an icon in the notification area. The notification icon is always visible, as the…
TechAurelian
  • 5,561
  • 5
  • 50
  • 65
0
votes
1 answer

Notify icon messages won't impress MsgWaitForMultipleObjectsEx

I am using MsgWaitForMultipleObjectsEx() for my message loop, and Shell_NotifyIcon to create tray icons. Here's the deal: Whenever the tray icon sends messages to it's owner window, the window won't receive the messages right away, instead they will…
Hammer
0
votes
1 answer

Can I use a Balloon tip from one class, while the NotifyIcon resides in a different class?

I have my main form which has a NotifyIcon attached for balloon tips. I have a separate BalloonTip class which does some processing to determine what goes into the balloon. How can I use the notifyIcon in my main form/class from my BalloonTip…
Fuzz Evans
  • 2,893
  • 11
  • 44
  • 63
0
votes
1 answer

WinForms: Taskbar icon via NotifyIcon component doesn't show up

I found this link from Microsoft on how to implement a Windows taskbar icon for a form which is different from the form's icon. I have one icon that fits to window and another one that fits the taskbar. It worked perfectly the first time I tried but…
IngoB
  • 2,552
  • 1
  • 20
  • 35
0
votes
0 answers

How to add a ''Description" field to Hardcodet NotifyIcon in WPF?

I am using HardCodet notifyicon (http://www.hardcodet.net/wpf-notifyicon) as tray icon, in a wpf application. How can I add the field "Description", which shows the application name when hovering over the icon (as described in the doc here, with a…
gl3yn
  • 301
  • 1
  • 3
  • 13
0
votes
2 answers

WinUI3 H.NotifyIcon, Unable to resolve symbol TaskbarIcon

I am working on a winui3 project, and for notify icon, only good option I found is HavenDV/H.NotifyIcon For winui, it recommends H.NotifyIcon.WinUI, but it is having version issues and showing So, I tried to add the core library H.NotifyIcon, which…
0
votes
1 answer

How can I create a WinForm app that just displays a NotifyIcon?

I am pretty sure I've done this before, but I cannot remember how/where I found out how to do this. I created a new WinForm application then dragged a notify icon onto my designer. I coded my desired functionality for the NotifyIcon's behavior…
Anders
  • 12,088
  • 34
  • 98
  • 146