Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • 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

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.

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