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.


Sign In or Register to comment.

Howdy, Stranger!

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