Hi,
This is what I'm using to send the backspace key and a new character to a active window.
VB Code:
Call SendMessage(ds2, WM_KEYDOWN, &H8, 0) Call SendMessage(ds2, WM_KEYUP, &H8, 1) Call PostMessage(ds2, WM_CHAR, &H8, 1) Call PostMessage(ds2, WM_CHAR, Asc(chr_a), 1)
When I use this on power point it gets stuck ...
Some programs don't get the WM_CHAR when used with the backspace key ..... So i need to send the WM_KEYDOWN message with it ....
Is there a way that I can use to send the backspace key to the active window ....... so that every program understands it ....


Reply With Quote