Solved

How to get another application out of system tray

Posted on 2007-11-16
5
156 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 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