How do i get an handle to the active window. I tried to use GetActiveWindow(..). I tried using a thread to continiously keep a lookout for the active window. It always returns a NULL. Can someone help me.
Thanks in advance