[1/44] wordpad: Added style to the richedit control to not hide selection.

Dylan Smith dylan.ah.smith at gmail.com
Tue Jun 17 20:18:13 CDT 2008


When run with the native richedit control the selection will be hidden
when focus is lost without the ES_NOHIDESEL style applied to the
richedit control.  This can be annoying in native windows when focus is
on a combobox in the toolbar, because it won't show what text will be
changed.  This patch adds the ES_NOHIDESEL style to be consistent with
native wordpad.

I also change ECO_SELECTIONBAR to ES_SELECTIONBAR which both are defined
as having the same value, but ES_SELECTIONBAR is meant to be used when
specifying styles, and ECO_SELECTIONBAR is meant to be used with
EM_SETOPTIONS.
---
 programs/wordpad/wordpad.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wordpad-Added-style-to-the-richedit-control-to-not-h.diff
Type: text/x-diff
Size: 645 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/d1d6f9fe/attachment.diff 


More information about the wine-patches mailing list