Send keystrokes to a Window with SendMessage()