tray

Windows API for detecting out of paper on specific printer tray

I'm looking for a way to determine if a specific tray on a given printer in Windows is out of paper. Currenly I'm using the WMI Win32_Printer object to get the status of the entire printer, and if one of the trays is out of paper I do get a status that tells me the entire printer is out of paper. But I'd like to know if a specific tr...

java TrayIcon using image with transparent background

I am using the following code to set a tray icon in Windows and Linux. It works wonderful in Windows and works okay in Linux. In Linux (Ubuntu) I have my panel set to be (somewhat) transparent and when I add a GIF (with a transparent background) the background of the icon shows up all grey and ugly (see image, green diamond "!")....Any i...

How to always show program tray icons in Windows by *default*?

If a program is executed for the first time in Windows 7, it automatically hides the icon. Is there any manifest setting or option to force Windows 7 to always show the icon by default? ...

Word shows trays that are not installed with an exclamation mark.

Hi, In my project, I'm trying to reach trays of the installed printers and successfully doing it. If some paper sources of the selected printer are not installed I don't show them in the paper source combo. In the mean time, Word also don't show them in the print dialog - paper/quality tab. But when Word shows non-installed trays with a...

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 but it's CLI right now. ...

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

Hello All, 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 little app running http://www.youtube.com/watch?v=FmE-QPA9p-8 My Issue is tha...

How to update the text in a tray icon balloon by hand?

I use CoolTrayIcon component,but I can modify it by hand.What I want to accomplish is to update the text in the balloon i just created without actually creating another balloon.Problem is: function TCoolTrayIcon.ShowBalloonHint(Title: String; Text: String; IconType: TBalloonHintIcon; TimeoutSecs: TBalloonHintTimeOut): Boolean; // Show...

How to open an app main interface from the executable instead on the tray icon in c#

Here is the scenario, i opened my application then the tray icon shows, if i double-clicked the tray icon, the main interface will be shown. if i open again my application, the main interface should be given focus or if it is not yet shown then it should be shown instead of opening another instance of my app. here is how my code looks l...

Flash ShowMessage(Pos) or any other predefined window in Dialogs unit in Delphi for Post-WInXP OS

This is approach I found for Tray ... : http://www.programmersheaven.com/mb/delphikylix/257563/257563/how-can-i-make-a-system-tray-flash/ Does the same technique works for Dialogs ( as they are forms with addition params, in fact )? Or I can do it with way faster methods like getting handle / address / interface and overload or overdri...

C# Getting the text off notifyIcons (tray icons)

I'm crafting this "what you are listening to" - plugin for learning purposes that displays the current Spotify or Winamp song as a message in an IM client. So far it's really simple, I'm merely getting the song played from the title like so Process.GetProcessesByName("spotify"); and then just pick out the song part ("Spotify - < song...

Adobe AIR system tray drop target

Hi there, I would like to make a system tray icon from Adobe AIR app a drop target. Is this even possible ? Digging hard, but without success so far. Thanks ...

How to find a hidden icon in system tray using FindWindowEx or a similar function?

Hello all, Is it possible to find a window by class using FindWindowsEx if it's currently hidden in the system tray? Looking for children of ToolbarWindow32 works if the icon is not hidden, but what to do when it is? Thanks. ...

c++ icon in tray

i used qt to make an application in the tray. on my pc its a good project and i see the icon in the traybar, but when i release it to give it to sombody else they dont see the icon, its just an invissible square that can be used but it dont show the icon. but on my pc it shows the icon. :S i know it sounds weird but does anybody know how...

Windows Service with WPF management tool

hi, i'm trying to create a windows service with C# in .net that runs before the user is logged on... then when a user is logged on a symbol should appear in the system tray (next to the clock) to show the user that the service is running.. by double clicking that symbol a configuration utility (written in wpf) should be shown to the u...

C# close to tray (like msn messenger)

Hi guys, 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 icon. So what I did was, on the form close event, I check whether the form is ...

How can I create a taskbar with C#?

I want to create a taskbar in C#, but I don't know where to begin. I don't know how to get the current open windows. I don't know how to get the system tray icon's. The second is the one I have more problems with. I think I found a solution for the first one on the internet. (http://www.c-sharpcorner.com/UploadFile/satisharveti/Enhanced...

PyQt4 tray icon application context menu items don't work.

Hello! I've got a simple tray icon application, but "About" context menu item doesn't work at all. I'm definitly mising something simple, but important here. The question is what should i fix to see "About" menu item working? import sys from PyQt4 import QtCore from PyQt4 import QtGui class SystemTrayIcon(QtGui.QSystemTrayIcon): ...

PyQt application crashes after closing QMessagebox window.

Here is the code of my simple tray application. It crashes with segfault when i call information window from context menu of application and then close it. I've tryed different variants to find a reason of segfault, this is my last try. #!/usr/bin/env python # -*- coding: utf-8 -*- import sys from PyQt4 import QtCore from PyQt4 import ...

c# - Tray Icon not showing.

I have a NotifyIcon set up on my main form, however when the form ran the notification icon doesn't appear? I have it's visible attribute set to true and if I try to show a balloon tooltip: ntiTrayIcon.ShowBalloonTip(1000, "Info:", "Double click this icon to close AlwaysOnTop", ToolTipIcon.Info); That doesn't show either. What's the...

Xul tray icon code

merhaba aşağıdaki eklentiyi nasıl kendi uylamam için kullanabilirim örnek bir kod veya anlatacak biri var mı? http://github.com/nmaier/mintrayr/ https://addons.mozilla.org/en-US/firefox/addon/12581/ ...