notifyicon

Problem with NotifyIcon.ShowBalloonTip - balloon not showing up

I'm having trouble with something that I thought would be easy... I can't get my NotifyIcon to show a balloon tip. The basic code is: public void ShowSystrayBubble(string msg, int ms) { sysTrayIcon.Visible = true; sysTrayIcon.ShowBalloonTip(20, "Title", "Text", ToolTipIcon.None); } Nothing happens when I execute this code. I rea...

Modify the behaviour of a NotifyIcon with via a 3rd party application

I've always been curious to see if I can show, hide or change a NotifyIcon created by another application via a C# application. Could someone please post an example on how to do this? :) ...

How to find the location of the icon in the system tray.

I have a NotifyIcon control that appears in the system tray. How can I find the location (x, y) of the icon on the screen? Thanks ...

How do I display an icon in the System Tray?

I want to make my .Net application display a notification in the system tray. So I want to show an icon for that, can anyone tell how to do that? ...

Tray Icon animation

I know how I do to place a icon in the systray. But what the best method to perform systray icon animation? animated gifs? timers? Preferentially using C# and/or WPF. Thanks! ...

How to guarantee a NotifyIcon disappears?

Hi, I'm using a NotifyIcon control in one of my child (modal) forms and it is working fine. SHowing balloon tips as expected, handling mouse events etc... It doesn't however vanish when I would expect it to. Specifically, when i exit the child form and the parent is back in control the icon still remains. It's tooltip is accessible so ...

Problem with NotifyIcon: "Hide Inactive Icons" not working

Hi! I am using C# (.NET 3.5) and use the NotifyIcon to enable "Minimize to Systray". Everything is working great, except that the shell registers the systray icon with the title "No title" when you look at the start menu properties -> "Hide Inactive Icons". Also changing the setting for that systray icon to "Always Show" or "Always Hid...

About the MSDN Documentation on NOTIFYICONDATA's cbSize member

I am reading the NOTIFYICONDATA documentation in MSDN. It says the NOTIFYICONDATA structure has a cbSize member should be set to the size of the structure, but NOTIFYICONDATA structure's size has different size in every Shell32.dll, so you should get the Shell32.dll version before setting cbSize. The following quotes from MSDN: If i...

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 inside the Form1.vb file. I think I remember something about adding a module to the project, ...

How to achieve modal dialogs from NotifyIcon context menu?

I've got a shell tray icon with an attached context menu. The problem I'm having is that calling ShowDialog() from a context menu Clicked handler does not result in a modal dialog. It's easy to reproduce this with a default C# project. Simply add the following code to the Form1.cs file: protected override void OnLoad(EventArgs e) { ...

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 version 6.0 of Shell32.dll (verified with DllGetVersion). Thanks! #include "stdafx.h" #inc...

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 get queued until any other type of message arrives (WM_MOUSEMOVE, for example). Seems l...

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 determine when to reset the balloon and show the next notification (if there's one in the ...

C# 2008 - NotifyIcon - BaloonTip

I'm using the following code: notify.ShowBalloonTip( 15000, "Reminder!", myText, System.Windows.Forms.ToolTipIcon.None); But the problem is the balloon almost always hides one layer behind the active window. Obviously this doesn't work too well when your active window is maximized and goes all the way down to the tas...

Embed Icon in WPF application.

I am using an icon in my application in two situations. In XAML as an Image for the Button using DynamicResource. In C# as NotifyIcon this.notifyIcon.Icon = new SystemDrawing.Icon("..//..//Shutdown.ico" ); My problem is if I delete the image the application not working. How can I bind the image with the exe file so that the applic...

Issue with NotifyIcon not dissappearing on Winforms App

Hi there, I've got a .Net 3.5 C# Winforms app. It's got no GUI as such, just a NotifyIcon with a ContextMenu. I've tried to set the NotifyIcon to visible=false and dispose of it in the Application_Exit event, as follows: if (notifyIcon != null) { notifyIcon.Visible = false; notifyIcon.Dispose();...

Numeric Notify Icon Windows Forms 1..2..3..

I need to create a Numeric NotifyIcon which should show the data in Percentage. like when minimized it should show 1% then 2% say after a gap of 5 seconds and so on. Any Ideas? ...

How to set NotifyIcon behavior to AlwaysShow in C#?

Hi there, Is it possible to modify NotifyIcon behavior to AlwaysShow in C#? A code snippet would be greatly appreciated:) Thanks in advance... Cheers ---edited One of our clients said quote "it seems necessary to customise icons to always show". What he meant was that he has to do it manually by r-clicking on task bar then click on P...

NotifyIcon Events not firing

Hi everyone! I'm new here and have a really mysterious problem to start off. I'm a software developer in the UK and have over 15 years of experience but have only been developing in .Net for 18 months. My NotifyIcon mouse events are not firing! I am using C# to write an application that starts as a NotifyIcon ('main app icon') and disp...

Is there a way to overlay text onto NotifyIcon?

I'm currently writing an application that has a NotifyIcon and I'm trying to figure out a way to overlay text on to it. So for example, if the icon indicates the number of files open, it has the icon plus the number on top of it. Is there a way to do that? I've seen instances of the NotifyIcon solely being text, SpeedFan for example. ...