How to get another application out of system tray

Posted on 2007-11-16
Last Modified: 2010-04-05

If another application is minimized to the system tray, and you know the handle of the application, is there anyway to get it out of the system tray (in other words, the same thing you would get when double clicking on the icon, so that the application is visible again).

Some possibilities:
Either by sending some message to app (like what happens when you click on the icon).
Or.. to get the position of the icon in the system tray so you may simulate a mouse double click.

Question by:TonyJix
  • 3
  • 2
LVL 19

Expert Comment

ID: 20297488
do you have an application handle or a window handle?

Author Comment

ID: 20297559

Author Comment

ID: 20297560
Window Handle
LVL 19

Accepted Solution

MerijnB earned 500 total points
ID: 20297566
how about:  ShowWindow(TheWindowHandle, SW_RESTORE);  ?

Author Comment

ID: 20297629

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi Form ownership 4 111
how to send memory stream from ics Client To ics server ? 11 135
RESTRequest Parameter 4 42
Tvertscrollbox like a whatsapp layout delete messages 1 23
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question