Link to home
Start Free TrialLog in
Avatar of MiDK
MiDK

asked on

Help With Writing a program that will restore if it is already open

I am currently writing a program iin Visual C++ that runs in the backdrop and places a taskbar icon.  I have figured out how to place the taskbar icon and make the program restore if you click on the icon.  My problem now is that I wish to make it so that if you click on the desktop icon (like running the program again) instead of running another thread it just shows the form and transfers the focus to it.

I would really appreciate help
Thanks
MiDK
ASKER CERTIFIED SOLUTION
Avatar of PlanetCpp
PlanetCpp

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial