these code detect the active window:
but how can i detect an active child window?Code:lngActivatedWindow = GetActiveWindow
Printable View
these code detect the active window:
but how can i detect an active child window?Code:lngActivatedWindow = GetActiveWindow
This will return the focused window within the calling thread:
Code:Private Declare Function GetFocus Lib "user32.dll" () As Long