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

Shell_NotifyIcon: balloon tooltip is shown after 10 seconds delay

My code to show balloon tooltip is: BOOL CTrayIcon::ShowBaloon(LPCTSTR title, LPCTSTR text, HICON hIcon) { BOOL bRes = FALSE; if(m_hWnd != NULL) { NOTIFYICONDATA nfidata = {sizeof(NOTIFYICONDATA)}; nfidata.cbSize =…
Serg
  • 131
  • 1
  • 7
0
votes
1 answer

How to create a tray icon with custom image using QT?

I have tried to create a custom-painted icon using QT under window. The following code displays an icon, but it looks transparent instead of color filled :(. OS is WinXP SP3, IDE is latest QTCreator. int main( int argc, char* argv[] ) { …
grigoryvp
  • 40,413
  • 64
  • 174
  • 277
0
votes
1 answer

Problems with Minimizing to Tray

In my windows forms application (C#) I have such code: private void frm_main_Resize(object sender, EventArgs e) { if ((this.WindowState == FormWindowState.Minimized) && (checkBox1.Checked)) { …
Tautvydas
  • 1,268
  • 7
  • 19
  • 33
0
votes
1 answer

How I can add a Widget or a Region to an Status Icon in PyGTK

This is my first question in StackOverflow, so I would try to explain my self the best I can. I made an small app trying to emularte the windows Procastination Killer Application, using pygtk and pygame for the sound alerts. Here is a video of my…
Mario César
  • 3,699
  • 2
  • 27
  • 42
0
votes
1 answer

Qt Application, focus and show/hide function

I am trying to do simly functionality. When I click on tray icon: -A- if app is hide > show -B- if app is show and is NOT focus > focus it -C- if app is show and focus > hide Very simle but if you have focus app and you click on try icon, the…
Lodhart
  • 635
  • 2
  • 9
  • 13
0
votes
1 answer

Tray icon can't be clicked when running Delphi program as Citrix seamless application

I use the Jedi library and the component JvTrayIcon. It works fine. But when the program is run as a Citrix seamless application, the program doesn't receive any click events. I have search a lot but found only something about task bar icons and…
0
votes
3 answers

After loading my application is not completly hide in tray

I have code like this: public form() { InitializeComponent(); init(); //read ini and try to minimize } private void timer1_Tick(object sender, EventArgs e) { } and in ini method I minimize form and hide it(in debug i can see form.visible =…
miky
  • 449
  • 6
  • 20
0
votes
1 answer

Java Applet exits and tray icon vanishes after some time, is there any timeout settings?

When i close Java Applet (java 1.6.23) in the browser (IE7, Windows XP) e.g. by the javascript Why java.exe and Java tray icon is removed after sometime (one minute or so) ? Is there any timeout value which can be setted somewhere ? We are…
Martin85
  • 75
  • 3
  • 10
-1
votes
0 answers

How can I make my Maui Blazor app show up in system icons taskbar when I close it?

My problem is that I can't see my app icon on the system taskbar. I need when I close the window to show the icon on the Windows taskbar as an icon. Using the icon open the app and when I open the app, show the latest status in the app... and no…
-1
votes
1 answer

C# How to avoid multiple tray icons when opening multiple windows

I'm working on a C# Windows Forms application with multiple forms and a tray icon. When my application starts, it adds a tray icon to systemtray, if i show a subform using .ShowDialog I get a new Instance of my application with a second tray…
webhead
  • 1
  • 1
-1
votes
1 answer

What determines the order items appear in java.awt.PopupMenu?

I thought it was the order they were added but for some odd reason, the "Exit" item appears above the submenu. Here is my code: gram._ni.setPopupMenu(new…
jamie
  • 580
  • 5
  • 16
-1
votes
3 answers

Difference between NOTIFYICON_VERSION and NOTIFYICON_VERSION_4 used in NOTIFYICONDATA structure?

When adding a system tray icon from in Windows there are two versions of API that we can pass to Shell_NotifyIcon() via NOTIFYICONDATA structure. There are subtle differences between the two API, and these are not listed anywhere on MSDN. It took me…
Sahil Singh
  • 3,352
  • 39
  • 62
-1
votes
1 answer

How can I use two NotifyIcons in C# without the second one disappearing when i hover the mouse over?

I Have a VS2008 app that needs to display two notifyIcons in the System tray. One is the main application icon, which allows quick access to the GUI. The second is a "new message" icon, which is displayed when a new message arrives, and hidden when…
Simon
  • 9,197
  • 13
  • 72
  • 115
-1
votes
1 answer

Win32::GUI update tray icon does not work

The tray icon does not change. What could be the cause? I'm using latest Strawberry Perl v5.20.2 x86, Win32::GUI v1.11, Windows 7 x64. use strict; use warnings; use Win32::GUI; my $main = Win32::GUI::Window->new( -name => 'Main', -text =>…
Nick
  • 331
  • 3
  • 14
-1
votes
2 answers

Run my java app (System Tray) when Windows starts

I have searched on the net, but I have not found anything for my case. I have created an application, that shows only in the SystemTray (icon) when you start. I want to run the jar file or the exe automatically when windows starts. I would like to…
1 2 3
19
20