[3/4] richedit: Implemented triple click selection

Dylan Smith dylan.ah.smith at gmail.com
Mon Jul 7 10:04:02 CDT 2008

Triple click selection was implemented as native richedit controls, and
has the following behaviour:
* Triple click on the text selects a paragraph
* Triple click on the selectionbar selects all the text

Further repeated clicking toggles between double click and triple click

The double click check was implemented by adapting the code in function
process_mouse_message in user32/message.c.  The code was adapted to
count mouse clicks rather than translate double clicks.
 dlls/riched20/caret.c   |   26 ++++++++++++++++++---
 dlls/riched20/editor.c  |   56 +++++++++++++++++++++++++++++++++++++++++++++-
 dlls/riched20/editstr.h |    3 +-
 3 files changed, 78 insertions(+), 7 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-richedit-Implemented-triple-click-selection.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080707/e0281452/attachment-0001.txt 

More information about the wine-patches mailing list