Dennis - Is there any particular reason you didn't use PostMessage? I'm looking at the documentation for the two functions and am not seeing why a person would choose one over the other. Just wondering.
Also, is the key parameter (passed to SendMessage in SendKey()) sill the virtual-key code for a given key? This was the case for keybd_event. Again, the documentation for SendMessage isn't really clear on this issue as far as I can tell.
(Perhaps I should find better documentation!)
Thanks. |