• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

How to get another application out of system tray

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
TonyJix
Asked:
TonyJix
  • 3
  • 2
1 Solution
 
MerijnBSr. Software EngineerCommented:
do you have an application handle or a window handle?
0
 
TonyJixAuthor Commented:
Yep
0
 
TonyJixAuthor Commented:
Window Handle
0
 
MerijnBSr. Software EngineerCommented:
how about:  ShowWindow(TheWindowHandle, SW_RESTORE);  ?
0
 
TonyJixAuthor Commented:
Nice.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now