Dylan Smith : richedit: Move message handling to function callable without window.

Alexandre Julliard julliard at winehq.org
Sat Dec 20 06:35:46 CST 2008


Module: wine
Branch: master
Commit: 5dc1271ba6af791e2f7475da12ed7fb1b25451ba
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5dc1271ba6af791e2f7475da12ed7fb1b25451ba

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Fri Dec 19 10:57:28 2008 -0500

richedit: Move message handling to function callable without window.

In order to make the message handling available to windowless richedit
controls, the message handling must be in a function that can be
called from the ITextServices_TxSendMessage method.  This method will
never have a handle to a window to pass to RichEditWndProc_common in
order to get the editor with GetWindowLongPtrW, but passing the editor
will work (even if hWnd is NULL).

---

 dlls/riched20/editor.c |  132 +++++++++++++++++++++++++++++------------------
 dlls/riched20/editor.h |    2 +
 2 files changed, 83 insertions(+), 51 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=5dc1271ba6af791e2f7475da12ed7fb1b25451ba



More information about the wine-cvs mailing list