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
3
votes
3 answers

How do I hide tray icons of other applications/processes (from my app)?

can some one show me how to hide/show tray icons of other applications/processes using my application,i want to hide the ''connected to internet''icon(those two computers that turn blue when data is sent/recieved/both) from my app edit: i can hide…
Omair Iqbal
  • 1,820
  • 1
  • 28
  • 41
3
votes
2 answers

How do I create a trayicon with Qt/c++ for all UNIX OS?

I'm working with Qt/C++ creating my own app, I want it to be cross-platform, so far everything it's been working great with Qt, the only problem its with the tray-icon. I create a tray-icon and add a menu to it, this works fine in windows but it's…
SujaM
  • 409
  • 6
  • 16
3
votes
1 answer

prevent more than one tray icon in c#

I am developing an application in c#.net,and for that i am writing code to display icon in a system tray,and whenever a new message arrives the balloon tooltip will be shown there,which has click event which will open new message arrived,everything…
3
votes
1 answer

Java TrayIcon message not displaying

I am trying to get a basic system tray message to appear in Windows 8.1 using TrayIcon. However, nothing is showing up when I run the program. This is the code: package alert1; import java.net.*; import java.io.*; import java.util.*; import…
rafmal1070
  • 33
  • 2
3
votes
0 answers

MSI installer unable to close my application automatically

When our WIX installer attempts to uninstall I get the following prompt If I click ok I see the following... This is saying our system tray icon is not closing. Our tray icon program is written in C# to be a single global instance of our…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
3
votes
0 answers

Proper way to handle Windows Service Tray App / NotifyIcon startup

For the record, I want to point out two things: I know how to create a Windows Service, I know how to create Tray applications and how to communicate with my Windows Service I have read countless articles on this subject, almost all of them suggest…
romatthe
  • 1,447
  • 3
  • 17
  • 33
3
votes
2 answers

Right controlClick on ToolbarWindow321 autohotkey

I'm quite new in autohotkey and I'm currently facing a misunderstanding about the ControlClick. My aim is to right click on an icon on the toolbarWindow321 with a ControlClick to display the contextual menu. I do not want to use a Click or a Send as…
Koam
  • 43
  • 3
3
votes
3 answers

Notifier for System Tray - Fire when new record gets created in SQL Server

Work on a support helpdesk. New tickets come in and records are created in a SQL Table and they are dumped to a specific category where any analyst can pick them up. Front end does not notify analysts when there are new tickets, so have to…
jakc
  • 1,161
  • 3
  • 15
  • 42
3
votes
1 answer

QSystemTrayIcon determine if it is clicked or in focus

With a QSystemTrayIcon object how can I determine if it is currently clicked? Also how can I determine when a user has clicked away from the tray icon and its associated menu? I'm thinking it involves installing an event filter? There's UI I want to…
mingxiao
  • 1,712
  • 4
  • 21
  • 33
3
votes
2 answers

TrayIcon right click event

I'm using a TTrayicon in Delphi XE2, and I was wondering if there is any way to control a right click event. I've tried with the click event, but I couldn't
elcharlie
  • 511
  • 8
  • 25
3
votes
2 answers

Java jpopupmenu on mouseExited

I'm trying to create system tray icon with two popup menus, one should be called with left mouse button and another with right. AWT offers simple way to create PopupMenu but it's not posible to call menu with left mouse button without making…
Algirdas
  • 33
  • 4
3
votes
0 answers

Java and Linux: TrayIcon and Task Switcher issues

I have an application that runs on Windows (great) and Ubuntu 12.04 (facing a couple interface issues). First, I have this code below to implement a TrayIcon: if (SystemTray.isSupported()) { // Get the SystemTray instance SystemTray tray =…
Leonardo
  • 1,263
  • 7
  • 20
  • 51
3
votes
2 answers

SWT System Tray - Linux GTK Gnome Tray icons with "SWT" String on tray

I am configuring the system tray icons with the following code: /** * Configura os ícones da shell principal */ protected void setDiplayIcons(Shell shell){ Display display = shell.getDisplay(); InputStream inputImgTray =…
davidfdr
  • 129
  • 1
  • 3
  • 15
3
votes
1 answer

TrayIcon balloon does not show up

I compiled my trayicon utility c++ code in visual studio 2005 express edition and tray icon balloons showed up successfully but later I deleted my firewall, switched on to windows firewall and now I am on another firewall software. Now i ran my same…
Faran Shabbir
  • 423
  • 1
  • 6
  • 18
3
votes
2 answers

c# how to change the tray icon

I'm still learning C# and I'm stuck. My problem is that I have a tray icon, which has to be changed when somthing happens. I have added the new icon as an existing item to the project and I'm trying to change it by using this…
Code Beast
  • 437
  • 2
  • 8
  • 17