GetActiveWindow returns the Active window of the Calling thread..
While GetForeGroundWindow returns the Foreground window which currently is on top of all the windows.. of all the applicaitons..