Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fix] Fixing input
#3
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)