Thread: keybd_event
View Single Post
Re: keybd_event
Old
  (#9)
gavin
Member
 
Status: Offline
Posts: 6
Join Date: Sep 2005
Default Re: keybd_event - 27-09-2005

Hi Lazy .
Your name contradicts itself
Anyways man my bot is a cup of tea bot

It's all client side.

Here's the basic things i'm doing.

1 Get handle to the cs window.--> FindWindow function
2 Make our game window show --> ShowWindow function
3 Make it the window to accept input --->SetForegroundWindow+EnableWindow

All that is done.
Plus

mouse_event works perfectly.

Now the thing is keybd_event simulates keystrokes right.

window messages like WM_KEYDOWN

Are you referring to the sendmessage function?
Could i have an example please.
Thanks for your time.
  
Reply With Quote