Solved

How to get another application out of system tray

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

943 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now