Questions tagged [trayicon]

for questions about creating a tray icon for a software application, customising the behaviour of a tray icon, and adding application control or monitoring to a tray icon. For questions which relate the system notification area or system tray in general, use the notification-area or system-tray tag instead.

About

A tray icon is a small, graphical, interactive icon which remains available in the of a graphical desktop environment such as , , , and , to allow for convenient control, monitoring and/or termination of a running software application.

In desktop environments that support a notification area, the area is easily accessible and always visible, so that tray icons and important notices can be seen immediately. For example, in Windows XP and in KDE 4, the system notification area is nestled alongside the clock on the main taskbar. The system notification area is often known as the system tray, though this is a misnomer.

Tray icons may be permanently visible in the system notification area, or the desktop environment may allow automatic or manual hiding of tray icons which belong to applications which are currently inactive or rarely used.

289 questions
0
votes
1 answer

Java Update MenuItems

I am writing a system tray app in Java for OS X that gets the users Computer Name, MAC address and IP address. I got the information and MenuItems loaded fine. My issue is updating the MenuItems when the user's information changes. I added a mouse…
Dr-ZoidBerg
  • 41
  • 3
  • 10
0
votes
1 answer

Tray icon app not exiting in specified condition

I'm writing an application that resides in a tray icon, no forms. I already implemented a custom ApplicationContext. This custom ApplicationContext creates the tray icon and adds a context menu. If I open that context menu and choose Exit, the…
Léster
  • 1,177
  • 1
  • 17
  • 39
0
votes
0 answers

get location of tray icon from windows registry

How do I get the coordinates of a particular tray icon from the windows registry? For instance, dropbox has a tray icon, how would I get the position of that icon?
mingxiao
  • 1,712
  • 4
  • 21
  • 33
0
votes
0 answers

Interactivity beteen WPF Applications

I am developing an WPF Application. The application will be installed in the network. I am using MEF with PRISM. I have created a login module and after successfully login I am publishing a loginsuccess event and based on the user roles I am adding…
Ajeet
  • 1
  • 2
0
votes
1 answer

How to Handle The Notification (Shell_NotifyIcon) to perform Some action when user clicked on It?

Iam NewBie, I have Created Tray Icon for my Application with void createTrayIcon(LpSTR msg) { memset(&m_NID, 0 , sizeof(m_NID)); m_NID.cbSize = sizeof(m_NID); // set tray icon ID m_NID.uID = ID_SYSTEMTRAY ; // set handle to the window that…
0
votes
1 answer

How to create basic tray icon app?

I'd like to create a C# app that will only have a custom tray icon visible, nothing else. No main form, no tray icon menus, just the icon. What's the easiest way to do so? I guess I should start out with a console application, since I don't need any…
user1306322
  • 8,561
  • 18
  • 61
  • 122
0
votes
1 answer

Show QWidget with QSlider on top of tray icon

I'm trying to implement some kind of volume slider in Qt. I have added the QWidget with a QSlider on it. It works fine for me... But! QWidget shows on the screen center. But I need it on top of the tray icon. Does anybody knows how to do…
ddmytrenko
  • 796
  • 7
  • 16
0
votes
1 answer

adding and removing trayicon in java?

I want to add an icon to system tray when window is minimized and remove it when maximized but i get this exception and can't solve it. Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding TrayIcon that is already…
0
votes
2 answers

MenuShortcut KeyEvent not working

The code below is a testable class that should print out some text when control+A has been pushed on the keyboard, and will also display an image in the system tray. This is all dependent on the system tray being supported by your operating…
Tyluur
  • 95
  • 2
  • 10
0
votes
1 answer

How to update system tray icon with TideSDK?

On my index.html I've added a new system tray icon to the application (which works fine): tray = Ti.UI.addTray("inactive_icon.png", function(evt){ if (evt.getType() == 'clicked') { if (!current_window.isVisible()){ …
Test User
  • 1
  • 2
0
votes
1 answer

Use a timer to update contents of Notifyicon text

I am having issues updating the text in a tooltip for a system tray application. I have a timer updating several strings, but it will not update the notifyicon text. Here is what I have tried. //This is in my main System.Timers.Timer aTimer =…
Dr-ZoidBerg
  • 41
  • 3
  • 10
0
votes
1 answer

Java - TrayIcon messages not displaying on Windows XP, Vista

I'm writing an application that utilizes Java's TrayIcon class, but I can't seem to get it to display messages on Windows XP/Vista. Is this a known issue or is there something that I'm missing? (Messages appear as they should on Windows 7) Code:…
Timr
  • 1,012
  • 1
  • 14
  • 29
0
votes
5 answers

Simple C# application eating memory

Alright so basicly I have this simple application running in system tray that has one timer. Every tick it performs a check to see if a given directory and file exists, and based on the result it changes its icon. The problem is every single timer…
Vultour
  • 373
  • 4
  • 15
0
votes
0 answers

How to return a trayIcon

How to return a trayIcon, specifically for the "remove" method in SystemTray. I want to remove the auto-generated trayIcon that java creates when it runs the program. Essentially I would like the program to run without appearing in the SystemTray.
0
votes
1 answer

How to add MenuItem to Menu of a TrayIcon ,dynamically in java?

I have a ChatServer application , and when ChatServer started a TrayIcon will display in the system tray , When i right click on that Trayicon there is a Menu called who's online , i want to add MenuItem to this menu when a client is connect chat…
Roshan
  • 11
  • 3