Well I don't always use it for single chars but say you were doing something like this (just making stuff up from the top of my head):
[php]
string myMessage = "welcome to mpgh"
for(int a = 0; a<myMessage.size; a++)
{
keybd_event(VkKeyScan(myMessage[a]), 0, 0, 0);
}
[/php]
To press each key in a string, you're not going to be able to do it easily without VkKeyScan are you?
[php]
string myMessage = "welcome to mpgh"
for(int a = 0; a<myMessage.size; a++)
{
keybd_event(VkKeyScan(myMessage[a]), 0, 0, 0);
}
[/php]
To press each key in a string, you're not going to be able to do it easily without VkKeyScan are you?
