I have a game client that has a button to allow input and when toggled on it will block input..
Thing is sometimes even when u toggle it off, it still blocks user input.. Other times there is an extremely HUGE delay before it accepts input..

I was thinking if I could hook into the application and send input such as keyboard input directly to the message queue on the press of a button.

I tried ::sendmessage but the application takes a whole 3 minutes before it sends keystrokes to the game.

I don't know how to hook into windows nor the message hook with .NET managed and I don't know API.. so Im asking is there any other way to do this other than hooking or am I forced to hook and learn how to? If im forced, does anyone have any *Amazing* hook tutorials on doing such a thing?