28-07-2009, 06:55 PM
DFA Wrote:fully tested? wow if it works right
the best thing i've found was a pretty lengthy module that checks if a window has focus
Haha yeah, I spent two hours alternating writing functions/using booleans trying to determine if the window had focus, and then I stumbled across a GetActiveWindow API, but that didn't work. Another thirty minutes of research, trying to figure it out lead me to the GetForeGroundWindow API which worked flawlessly.