How to get the System active window handle ?

eiaitalia

Member
Licensed User
Is there any chance to capture the active window handle in case my program isn't actually in foregroud ? I tried GetActiveWindowHandle in dzHW but only get the handle of "my program active window" (otherwise get ZERO), while I need to get the system active window in case my program is running in background.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…