Get active window without global hooking or polling GetActiveWindow?

How can I get notified of what the active currect window is and when that changes without polling GetActiveWindow or using global interceptors?

I don't like polling and I work in C # and global interceptors don't work (mostly).

+1


source to share


2 answers


I have never found a clean way to get notified. I am using GetForegroundWindow with a timer . :(



+1


source


You can't, but you can try something that's already created this way product .



0


source







All Articles