Solved

How to get another application out of system tray

Posted on 2007-11-16
5
153 Views
Last Modified: 2010-04-05
Hello,

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.

Greetings.
0
Comment
Question by:TonyJix
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

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

Author Comment

by:TonyJix
ID: 20297559
Yep
0
 

Author Comment

by:TonyJix
ID: 20297560
Window Handle
0
 
LVL 19

Accepted Solution

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

Author Comment

by:TonyJix
ID: 20297629
Nice.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

778 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