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

Force NotifyIcon to appear in system tray

I have a NotifyIcon that appears in the system tray and I want to show a balloon tip the first time stuff the application is idle (As suggested here: C# execute code after application.run() ) but the Idle event happens before the Icon appears in the…
Drew
  • 12,578
  • 11
  • 58
  • 98
0
votes
1 answer

C# notifyicon bug in XP

I have a WinForm .NET 2.0 framework app that works fine in Vista, Win 7 and XP as long as the notifyicon component is not included. If I drop the component on the Form and recompile, Vista & Win 7 work fine, XP crashes immediately on launch. I put a…
GeoDirk
  • 17
  • 5
0
votes
1 answer

C# WPF NotifyIcon BalloonTip and the TrayBalloonTipClicked Event

Within my WPF Application I use the "WPF NotifyIcon" (https://www.codeproject.com/Articles/36468/WPF-NotifyIcon-2) library to send OS Ballontips like this TaskbarIcon tbi = new TaskbarIcon(); string title = "My title"; string text = "My…
jim__
  • 21
  • 4
0
votes
0 answers

System Tray Notiifications show up when running the project in the debug mode in IDE [VS2017] but not in compiled exe in C# project

I have multiple connected apps, one of which fires events and another runs in the system tray and displays notifications for those events. It used to work properly, but after making a change related to threading in one of the applications, it…
Sagar Kapadia
  • 105
  • 1
  • 9
0
votes
0 answers

Using "toast notification" in winform or WPF

I'd like to use a scrollbar like the one who shows up if you press the sound symbol on windows 10. In my research I only found toast notification or notifyicon which I think isn't the right thing. Picture: Do I overlooked something? Is this even…
flash
  • 1
  • 2
0
votes
1 answer

Multiple NotifyIcon images in task status area

I have a WPF application I like to keep quietly running when the user closes the main window. I do this using a NotifyIcon in the task status area, and use it as such in my App.xaml.cs: protected override void OnStartup(StartupEventArgs e) { …
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
1 answer

Not updating systray notifyicon dynamically?

I have the following code that "should" draw a 2 onto the existing trayicon but when run the icon does not update? i have saved the bitmap to file and it does have the 2 draw on top as expected, do i need to refresh the tray icon somehow for it to…
Dwayne Dibbley
  • 355
  • 3
  • 20
0
votes
1 answer

wpf - notifyIcon - mouse event - identify mouse button

I use the notifyIcon from Winforms in a WPF application. Bellow is part of my event handler: private void notifyIcon_Logger_MouseDown( object sender, EventArgs e ) { var st = e.ToString(); ... I may not make e parameter a MouseEventArgs…
Gigi
  • 158
  • 11
0
votes
2 answers

If right click on NotifyIcon

How can I detect if I right click on my NotifyIcon? I tried this but "Button" gets redmarked. private void noi_Click(object sender, EventArgs e) { if (e.Button == MouseButtons.Right) { …
spunit
  • 523
  • 2
  • 6
  • 23
0
votes
1 answer

WPF accessing code-behind from view models

Using the NotifyIcon project to show balloons in my c# app. I want a trigger from the program to be displayed as a popup/balloon when it occurs. The problem is that I can only see how to show a balloon using the .ShowCustomBalloon method in…
pgee70
  • 3,707
  • 4
  • 35
  • 41
0
votes
0 answers

show active form when notifyicon is pressed C# windows form

I'm making a multiform windows form application using C#, what I am trying to do is have a one notification icon, when pressed shows the active form ( the latest one that is open). so having notifyicon for every form is not the answer, but having…
0
votes
1 answer

how to display NotifyIcon Dynamically without windows form

i want to display NotifyIcon after elapsed time is over instead of message box here is my code : 1.this code is in my form window : string message = "The " + targetGrid.Rows[i].Cells[2].Value + " batch is completed!";// dataGridrow contains…
0
votes
0 answers

Pop Up in System Tray not showing

I am trying to show a message on loading of the application. I am trying to implement this using the Windows notifyIcon tool. Below is the method I implemented and calling this in the form load. However no message is being shown when opening my…
0
votes
3 answers

C#, Windows Forms: NotifyIcon with ShowBalloonTip in Click event no longer fires the DoubleClick event

When using a NotifyIcon in Windows Forms/C#/.Net Framework 2.0, if I display a Balloon Tip Text in the MouseClick or Click events, none of the DoubleClick or MouseDoubleClick events will fire: private void notifyIcon_DoubleClick(object sender,…
TechAurelian
  • 5,561
  • 5
  • 50
  • 65
0
votes
1 answer

Clicking a ContextMenuItem in a NotifyIcon Context Menu calls the NotifyIcon click Event

I have a WinForms app that starts up in the tray only. On clicking it, it opens a form. This works fine. notifyIcon.Click += notifyIcon_Click; //Fires on icon click, AND on contextmenuitem click private void notifyIcon_Click(object…
Mike
  • 629
  • 5
  • 18