Jump to content

Get Current Active Windows Process ID

- - - - -

  • Please log in to reply
1 reply to this topic

#1
mnirahd

mnirahd

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 330 posts
Hi,

I've a service that starts up when system boots up: In that service I want to determine which windows is currently active and what's the process if of the process whose window/dialog is currently active.

Any suggestions?

Munir

#2
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
A quick search got me here: GetCurrentProcessId()
Latinamne loqueris?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users