cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Check if notepad active
Check if notepad active
Dec 19, 2011 at 10:37am UTC
poohpooh
(122)
Hi how would i check if a program is active (On screen)
Dec 19, 2011 at 11:33am UTC
coder777
(8444)
You might try to find the running process with EnumProcesses:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682629%28v=vs.85%29.aspx
or
FindWindow:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633499%28v=vs.85%29.aspx
Topic archived. No new replies allowed.