|
-
April 27th, 2009, 01:51 AM
#1
how to send capital letters to another window?
I'm able to search through the windows and find the one I need (Win XP), and I'm able to send keystrokes / letters to another window. However, since the virtual keycodes don't distinguish between upper and lower case, I'm stuck as to how to send upper case letters to another window from my app (i.e. a window that is not part of my app). I have tried using the keybd_event() function to set caps lock which seems to be doing *something*, but there isn't any rhyme nor reason to when it actually decides to set the caps lock...I presume it is done in parallel, so I tried calling sleep() for a sec to make sure it has time to get through, but that isn't working either...how can I go about doing this?
thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|