richedit: Store mouse captured state rather than calling GetCapture.
commitf885d40d672ba15137f3067e1f1dfcde6f8bd3b0
authorDylan Smith <dylan.ah.smith@gmail.com>
Sun, 11 Jan 2009 07:59:20 +0000 (11 02:59 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 Jan 2009 13:42:02 +0000 (12 14:42 +0100)
tree0cc36a1128c6a9bd8c497b061fe3d10438b8c2d7
parentee19ec056a417fbd705f62b3ccd392023bcfe8ae
richedit: Store mouse captured state rather than calling GetCapture.

Windowless richedit control will not be able to call GetCapture without
a handle to the host window (and there is no ITextHost_TxGetCapture
method), but there is a ITextHost_TxSetCapture method available for
setting and releasing the capture on the mouse.  This means that the
richedit control will need to keep track of whether it has captured the
mouse or not to implement windowless richedit controls.
dlls/riched20/editor.c
dlls/riched20/editstr.h