Disable double click in TrichEdit
Posted on 2003-04-01
Hey there, releative newbie here...
I'm writing a program and one of the features is that when I press CONTROL and click on a text block in a TrichEdit window it increments to the next relative value. All fine and well unless I click too fast and it tries to highlight something else further along the line. Is there any way of disabling this? My current thoughts are to use a timer and if the second mouse click is too fast then ignore it. I think this would work but I would prefer to be able to click as fast as I like and not have the program shoot off elsewhere.
Also another really easy question (at least I imagine it is if you know the answer! :( ) Is there a way to disbale the blinking caret in an edit box or richedit window? I'd like to hide it when text is selcted and then re-enable it when entering data. I'll offer another 10 points for an answer.
Thanks a lot.