Questions tagged [tray]

The tag "tray" refers mostly to the GUI system notification area (called system tray) and rarely to the disc tray of an optical disc drive. Better use tag "trayicon" in case of a single tray icon and "notification-area" or "system-tray" in other cases about the system tray.

175 questions
5
votes
3 answers

C# close to tray (like msn messenger)

I have a c# .net app. So I created a notifyIcon that sits in the tray. What I want to do is when the user hits the "x" button on the form, I want it to close to the tray. They should only be able to exit program by using the context menu in the tray…
Andy Hin
  • 30,345
  • 42
  • 99
  • 142
5
votes
2 answers

How to setup trayer to be on all workspaces in xmonad?

I'm trying to add trayer to my xmonad & xmobar desktop setup. Here is what I add in .xinitrc before exec xmonad trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 18 --height 22 --transparent true --tint…
cnd
  • 32,616
  • 62
  • 183
  • 313
5
votes
2 answers

Simple tray icon application using pygtk

I'm writing a webmail checker in python and I want it to just sit on the tray icon and warn me when there is a new email. Could anyone point me in the right direction as far as the gtk code? I already coded the bits necessary to check for new email…
André
  • 237
  • 1
  • 3
  • 8
4
votes
1 answer

Show Electron Windows Tray Icon on main taskbar, not under Show Hidden Icons

I'm building an electron app and I realized that the tray icon on Windows does now appear on the main taskbar, but in the area that pops out when you click the upward arrow. enter image description here I see that Dropbox has theirs on the main…
4
votes
3 answers

Qt app fails to create the tray icon when it runs on startup

There actually is no problem with my code per se, but if I add my program to run on startup (i.e. every time the user logs in), it fails to create the tray icon, because, at the time it tries to, the taskbar is not yet created/initialized…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
4
votes
0 answers

Windowless tray icon application

OK I am a total newbie at WPF but I have to develop what's in the title with wpf but not relying on MVVM. I have followed this: WPF Application that only has a tray icon I found the first answer the one with the hardcodet lib but find it too…
Patrick
  • 3,073
  • 2
  • 22
  • 60
4
votes
3 answers

ElementaryOS Freya - Dropbox Icon

I'm having some troubles with dropbox icon on tray with ElementaryOS Freya Dropbox is synchronizing, the unique problem is the icon on tray that I can't show anyway. Procedures done: 1 - Instaled dropbox by .deb downloaded from dropbox site using…
Mayke Ferreira
  • 174
  • 2
  • 9
4
votes
1 answer

Open WPF window near to notification area with support multiply monitors

My wpf application should open a window nearing to notification area. When the user clicks on the tray icon opens a window. So i need the window on the same screen where the notification area. For now i just getting taskbar location:…
tnimas
  • 411
  • 5
  • 9
4
votes
2 answers

Is it possible to create a background app using node-webkit?

I wanted to create a complete background running app that only shows up in the system-tray and doesn't have any "window" as such. I tried setting the "window" attribute to false, but that doesn't work. Is there any way to create a completely…
Nemo
  • 3,104
  • 2
  • 30
  • 46
4
votes
1 answer

C++ MFC how to send an application into Tray

i wrote an little application which does some operations in the background. because it doesnt needs attention of the user, i want to send the application into system tray, and when someone clicks on it, the window should popup again. the problem is,…
Laokoon
  • 1,241
  • 4
  • 24
  • 47
4
votes
1 answer

How to set the length of time a windows notification icon appears in Java

I've made a java application which connects to a server and a Windows system tray notification popup which alerts the user when the application has disconnected and reconnected. Here is the code: Image iconDisconnected =…
user1912424
  • 329
  • 3
  • 6
4
votes
1 answer

Printing with advanced options (tray selection, duplex, staple)

We have a project of managing printing documents. At first I wonder why printing options couldn't be set up in single place. For example printer tray selection for first page and for other pages can be done using MS Word automation: var doc =…
Sasha
  • 8,537
  • 4
  • 49
  • 76
4
votes
0 answers

opening window when by special shortcut in C#

Possible Duplicate: How can I register a global hot key to say CTRL+SHIFT+(LETTER) using WPF and .NET 3.5? Set global hotkeys using C# I have a WPF app, by clicking close button or by clicking minimize button it hides but it still remains open in…
mahdavipanah
  • 600
  • 5
  • 21
3
votes
3 answers

Deletion an icon from a tray

Using the code below results in that sometimes an icon remains in a tray right after call to removeIconFromTray method and disappears only after a user moves over an icon in tray. void CMyDlg::addIconToTray() { static HICON hIcon =…
Vitaly
  • 597
  • 1
  • 5
  • 12
3
votes
1 answer

Using hotkey even if window hide in tray. Is it possible in Delphi?

I need to hide a form to the system tray, but in the same time I want to use hotkey, such a "ctrl+3" to get text from tEdit on my hiden form being inserted to Firefox SendText(edit1.Text); // in such method'. I know how to insert text, but i don't…
Yurios
  • 123
  • 12
1
2
3
11 12