General programming

Moderators: None (Apply to moderate this forum)
Number of threads: 1642
Number of posts: 2791

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to get Focus state of other application? Posted by mister_e on 21 Sept 2006 at 7:59 AM
This message was edited by mister_e at 2006-9-21 8:2:0

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!







 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.