Solved

How to get another application out of system tray

Posted on 2007-11-16
5
151 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
Comment Utility
do you have an application handle or a window handle?
0
 

Author Comment

by:TonyJix
Comment Utility
Yep
0
 

Author Comment

by:TonyJix
Comment Utility
Window Handle
0
 
LVL 19

Accepted Solution

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

Author Comment

by:TonyJix
Comment Utility
Nice.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

10 Experts available now in Live!

Get 1:1 Help Now