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

Animated Notify Icon like the task manager graph

I'm trying to create a bandwidth monitor - I've done most of it, but I want to have a notifyicon that changes dependent on the bandwidth. The same as when you open task manager and then minimise it, there is a little animated bar graph by the clock…
Blind Trevor
  • 746
  • 2
  • 9
  • 28
1
vote
1 answer

Show NotifyIcon Context Menu and Control Its Position?

I'm trying to show a context menu when I left-click a NotifyIcon. Just calling NotifyIcon.ContextMenuStrip.Show() doesn't work very well. A solution has been posted here before that calls a secret method using Reflection: Dim mi As…
1
vote
1 answer

Can't set correct Tray Icon in Visual C++ using LoadIcon()

So I have a program which doesn't have a console. It starts up by making a dummy HWND which it then hides and then acts as a notification area application (stays in tray). People can hover over the program to view its status and press hotkeys to…
Mo Beigi
  • 1,614
  • 4
  • 29
  • 50
1
vote
1 answer

Build systray application in VB.Net?

I'm using Visual Studio Express 2013 to write a formless VB.Net application that will start and remain iconized in the systray section. I googled for infos on how to get started but didn't find much. Would anyone have pointers to get started? Thank…
Gulbahar
  • 5,343
  • 20
  • 70
  • 93
1
vote
1 answer

Can I have notify icon for my external program called by shell?

I'm developing one exe program (A) that have link to call another exe(B). But then, I have an issue to set up notify icon for exe (B). Here codes to call exe(B): Private Sub LinkLabel1_LinkClicked(sender As Object, e As…
zira
  • 117
  • 1
  • 1
  • 9
1
vote
1 answer

Overlaying Notification Icon with text

After some help here, I've got WPF using the windows.forms notifyIcon class (It's not a major app so not worried about purity). And I was wondering if its possible to overlay some text on the icom? Basically I need it to visually show how many…
Psytronic
  • 6,043
  • 5
  • 37
  • 56
1
vote
2 answers

WPF-NotifyIcon not working when moved into an XAML dictionary

I'm using WPF-NotifyIcon, and am following this tutorial, and it works when I put the XAML code in my MainWindow.xaml, however once I move onto the "Creating the NotifyIcon from a Resource Dictionary" part it stops showing up in the tray. I have a…
Jon
  • 305
  • 3
  • 20
  • 45
1
vote
1 answer

NotifyIcon OnClick not firing

I have assigned this: // notifyIcon_Closed // this.notifyIcon_Closed.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_Closed.Icon"))); this.notifyIcon_Closed.Text = "Ico"; …
jister
  • 135
  • 3
  • 13
1
vote
1 answer

Minimize entire WPF application to System Tray in C#

In my wpf application, I've 4 View windows. I've written following code, which minimizes my main window to system tray when minimized that window. But, I want this effect for all windows in my application(i.e entire wpf application). When I move…
Dinesh
  • 507
  • 4
  • 14
  • 23
1
vote
0 answers

How to make the notify icon of a WPF application appear in the system tray on windows startup?

I have a WPF application for searching in a SharePoint site. I have defined notify icon in the same which is executing as per my requirements. I want this notify icon to sit in the system tray on Windows start-up. So, how to go about it?
Amit
  • 194
  • 4
  • 20
1
vote
1 answer

How to focus my window when I double-click on NotifyIcon

When I double-click on my application icon like this, I want to get focus on the application. I've tried this: private void noi_MouseDoubleClick(object sender, MouseEventArgs e) { BringToFront(); Focus(); } But somehow it doesn't work. Any…
spunit
  • 523
  • 2
  • 6
  • 23
1
vote
2 answers

Returning to Window previously selected before clicking Notification Area Icon

I have built an application that has a Notification Area Icon, which when clicked brings up a form that is designed for a single click, after which the user can then return to what they where doing before hand. Currently, I am using this.Hide() to…
topherg
  • 4,203
  • 4
  • 37
  • 72
1
vote
2 answers

Access a textbox declared in App.xaml (WpfNotifyIcon Tooltip) from another window

I am using WpfNotifyIcon, I have declared it as a resource like this:
stirredo
  • 2,297
  • 3
  • 19
  • 23
1
vote
2 answers

How do I prevent my app from launching over and over again

The app I am creating includes a notify icon and it is in a way that stays active in the background (well, sort of). The problem is that when the user clicks on the icon of my app, the app will launch again, and so I have two notification icons and…
roostaamir
  • 1,928
  • 5
  • 24
  • 51
1
vote
1 answer

Adding icons to my menulist

Possible Duplicate: how to add icon to context menu in c# windows form application i've got a context menu attached to a task tray application. The code is as follows. private NotifyIcon trayIcon; private ContextMenu trayMenu; trayMenu =…
Derek Brown
  • 13
  • 1
  • 3