Posted 20 years ago
by @hotmail.com
![Avatar](https://secure.gravatar.com/avatar/2d9ea2516ad3c61c44bae3b8777afc8e.jpg?s=64&d=identicon&r=g)
Setting the BackColor property of a line can highlight the whole line. But if I just want to highlight some text from somewhere in the middle of line M to somewhere in the middle of line N programmatically, where N-M > 1. How can I do that?
I have tried to use ProcessDialogKey and KeyDown to capture Backspace key, but both of them couldn't catch the key. How can I do that?
I have tried to use ProcessDialogKey and KeyDown to capture Backspace key, but both of them couldn't catch the key. How can I do that?