richedit: Clicking below end of text now selects closest character
dylan.ah.smith at gmail.com
Wed May 7 12:00:03 CDT 2008
Before, the end of the text was selected when clicking below the end
of the text, rather than using the x position to find the appropriate
character on the last row that is closest to the pixel position.
This behaviour was observed in wordpad on Windows XP, and EM_CHARFROMPOS
is documented on MSDN as getting information about the character closest
to a specified point.
dlls/riched20/caret.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 778 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080507/90f12033/attachment.diff
More information about the wine-patches