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

Tray Icon displayed not properly

This is my code in my app that works fine: if (SystemTray.isSupported()) { popupMenu = createPopupMenu(); SystemTray systemTray = SystemTray.getSystemTray(); Image img = Toolkit.getDefaultToolkit().getImage("image.gif"); trayIcon =…
user840718
  • 1,563
  • 6
  • 29
  • 54
0
votes
0 answers

How can I overlay system-tray icon ? WPF

I've got a window like
maskalek
  • 453
  • 5
  • 18
0
votes
0 answers

accessing TrayIcon from another class

) I have two classes, in the first (WoodyGui) I implemented the GUI, applied an ActionListener to the only JButton and added the TrayIcon to the SystemTray. By responding to the ActionEvent produced by the button I would like all elaboration to be…
slovo
  • 3
  • 1
0
votes
1 answer

How can i dynamically change the tray icon image in JavaFX like dropbox tray icon

In dropbox, the tray icon dynamically change. When file is uploading, sync icon is shown. When all file is synchronized, dropbox show other icon(latest status icon). https://mockupstogo.mybalsamiq.com/projects/icons/Dropbox I want to develop a…
Julian Lee
  • 79
  • 1
  • 8
0
votes
0 answers

Contribution and disposing tray icon in e4 application

Im trying to contribute tray icon to my e4 based application. In e3 application I use WorkbenchWindowAdvisor class and override WorkbenchWindowAdvisor.postWindowOpen() and WorkbenchWindowAdvisor.dispose() methods to contribute and dispose…
Bartosz Popiela
  • 951
  • 10
  • 14
0
votes
2 answers

Toggle window visibility on tray icon click using WinAPI

How can I bring a window to the top if not there, and close it otherwise, when the tray icon is clicked, using the Windows API? That is, very similar to what the taskbar icon does. By bring to the top I mean fully visible to the user. I cannot find…
user1726010
0
votes
0 answers

WinForms application with tray icon

I realized an application that minimize it self in a tray icon, from which you can also show a context menu. I'm facing some problems: I can't get the Context menu to disappear when I click somewhere else The Context menu doesn't appear exacly…
Teejay
  • 7,210
  • 10
  • 45
  • 76
0
votes
1 answer

c# Hide external process trayicon

I have a program in C# for auto run a webcam program for use my NTB as security cam... I run a BooruCam in program and check title for check error with upload image to server. all is ok but I don't know how I hide in tray this external program icon.…
0
votes
1 answer

Handling both mouse move and mouse click on a tray icon

My VB6 application is usually hidden and has a tray icon. It currently handles a user-defined callback as per this code: Public Const WM_USER = &H400 Public Const TRAY_CALLBACK = (WM_USER + 1001&) With GTStruct .uID = mId .hwnd = frm.hwnd …
0xFF
  • 808
  • 1
  • 12
  • 33
0
votes
0 answers

NotifyIcon (aka TrayIcon) in .NET Compact Framework 3.5

I am developing a simple tray icon application which required to run in .NET Compact Framework 3.5 (will be deploy in Windows CE 6). Unfortunately "NotifyIcon" component was not supported in Compact version. Does anyone have any solutions or code…
Dennis
  • 3,528
  • 4
  • 28
  • 40
0
votes
1 answer

Order at which my icon is added to the system tray?

I'm coding an MFC/C++ app that places several icons on the system tray. (The number of icons is controlled by a user and can reach up to 10 or so if the user wishes to do so -- each per certain function of the app.) My question is, can I control the…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
0
votes
1 answer

How to show balloon hints / notifications from tray in delphi

I have a thread in my program that checks if there is anything new every minute and if it is it should show a notification from tray like Balloon hint with notification text. Ex.: 'You got a new message from Tom!' I use TTrayIcon component Please…
user1804119
  • 142
  • 3
  • 12
0
votes
3 answers

Java: How to blink trayicon when receiving notifications?

Need to blink the tray icon upon receiving notification. For this I have two images. I am using Thread runnable() and with certain interval making the thread sleep, add and remove images. This is working fine but when blinking all other tray icons…
0
votes
1 answer

How to hide a window from the Alt-Tab switcher?

I have an winforms application, in which Im making it to hide in the tray menu when clicking the close button. I have used trayicon and notifyicon in this. The following is the code For minimizing to the system tray public void MinimizeToTray() { …
Vikneshwar
  • 1,029
  • 4
  • 20
  • 38
0
votes
3 answers

Why TrayIcon doesn't appear?

I'm trying to add a TrayIcon inside a Tray that already appears. I'm new in Java so i can be calling wrong methods. Could someone help me please? The code i use is: if (!SystemTray.isSupported()) { System.out.println("SystemTray is not…