Hi,

Is there a way to send the backspace key to the active window using sendmessage .

here is what i'm using ...

VB Code:
  1. Call SendMessage(ds2, WM_KEYDOWN, &H8, 0)
  2.     Call SendMessage(ds2, WM_KEYUP, &H8, 1)
  3.     Call PostMessage(ds2, WM_CHAR, &H8, 1)
  4.     Call PostMessage(ds2, WM_CHAR, Asc(chr_a), 1)

Some programs don't get the WM_CHAR when used with backspace so I send the WM_KEYDOWN with it ...

but does not work with all the programs ....