Sure it helps.
At least it shows that you are NOT sending '%'. According to MSDN:
Quote:
VK_LEFT 0x25 LEFT ARROW key
Printable View
Sure it helps.
At least it shows that you are NOT sending '%'. According to MSDN:
Quote:
VK_LEFT 0x25 LEFT ARROW key
Good catch, Vlad! :thumb:
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
Where do you see in the documentation above that 0x25 is the "%" key? The virtual key code you're sending is the left-arrow. So your program behaves exactly as expected.
Secondly, the "%" is a shifted-5 key. So how are you sending the shift-key? I have never used keybd_event, but as you can see, you need to distinguish between a shifted key and non-shifted key.
A bit of advice -- too many times, people believe their code is either not relevant to the problem, or think that their code is OK. Then what winds up happening is that when the code is posted late in the game, we see that the code was not correct. We could have saved a lot of time if you had posted the erroneous code much earlier, preferably in your first post.Quote:
i doubt it.
Regards,
Paul McKenzie