How to get Focus state of other application? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to get Focus state of other application?

[b][red]This message was edited by mister_e at 2006-9-21 8:2:0[/red][/b][hr]
Hi all,
I need to do an application (in VB6) wich will monitor the focus state of 2-3 other running application to send some data on the SerialPort.

The Hardware stuff and serial comm is not a problem. What i need to know, is how to get the focus state of the other application?

Let's say i have ABC.exe, XYZ.exe + my application (in background) running at the same time. I want to know when the user work on ABC.exe OR XYZ.exe.

Any tips are more than welcome.

Cheers!




Sign In or Register to comment.