Dylan Smith : richedit: Move message handling to function callable without window.
Module: wine Branch: master Commit: 5dc1271ba6af791e2f7475da12ed7fb1b25451ba URL: http://source.winehq.org/git/wine.git/?a=commit;h=5dc1271ba6af791e2f7475da12... Author: Dylan Smith <dylan.ah.smith(a)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=5dc1271ba6af791e2f7475...
participants (1)
-
Alexandre Julliard