View previous topic :: View next topic |
Author |
Message |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Fri Nov 28, 2008 6:11 pm Post subject: PostMessageA with letters |
|
|
How do you send keys to a window such as a,b,c,d...etc and capitals A,B,C,D?
I tryed sending just the ascii and it fails.
|
|
Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Nov 28, 2008 6:12 pm Post subject: |
|
|
Send WM_CHAR?
|
|
Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Fri Nov 28, 2008 6:15 pm Post subject: |
|
|
o...
|
|
Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Fri Nov 28, 2008 7:20 pm Post subject: |
|
|
There is a list on MSDN with a bunch of the messages you can send.
_________________
Blog
Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Fri Nov 28, 2008 10:56 pm Post subject: |
|
|
Code: | void SendString (char *tosay)
{
for (unsigned int x=0; x<strlen(tosay); x++)
{
PM (FindWindow ("MapleStoryClass",0), WM_CHAR, tosay [x], 0);
}
} |
WM_CHAR as slovach said.
_________________
|
|
Back to top |
|
 |
|