Solved

How to get another application out of system tray

Posted on 2007-11-16
5
155 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…

726 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