I find it very easy to intercept a mouse event in a textbox in a windows app, and thus do my own thing. But the app will insist on doing its own thing as well!
Specifically, I want to be able to get hold of a 'word' in the text, by double clicking on it or whatever - which is easy enough - and NOT have C# .NET 2003 turn the word (and any and all trailing spaces) blue.
The best I been able to do, is to reduce things to a quick flash of blue, by smartly setting the length property of the selected text to 0.
The docs give me to understand that I accomplish this replacement via deriving and hiding - except that I can't, not with events. Nor can I unsubscribe (-+) these base events!
Myriads of mushroom gathering expeditions in the dark void, get me shower upon shower of that other dark stuff, but now't else.
As regards those trailing spaces - is the highlighting of trailing spaces intentional, or is it a bug? Why am I forced to trim those unwanted spaces myself?
Eddie