2005-05-24 Kouji Sasaki <[EMAIL PROTECTED]>
> > Hence, the modification was made so that the text selection by mouse
> movement will only occur when edit control itself sets the capture.
>
> OK, I'm sold, but can you please resubmit the patch with
> an appropriate comment expl
2005-05-19 Kouji Sasaki <[EMAIL PROTECTED]>
> > With only GetCapture() != es->hwndSelf statemet, the string selection will
> occur
> > even if the capturing is done by external processes.
>
> So what you are saying is that an external process captures the mouse,
> and someh
> Hence, the modification was made so that the text selection by mouse
movement will only occur when edit control itself sets the capture.
OK, I'm sold, but can you please resubmit the patch with
an appropriate comment explaining the problem?
--
Dimi Paun <[EMAIL PROTECT
2005-05-19 Kouji Sasaki <[EMAIL PROTECTED]>
> > Corrected the determination of capturing inside EDIT_WM_MouseMove
> function.
>
> > - if (GetCapture() != es->hwndSelf)
> > + if (GetCapture() != es->hwndSelf || !es->bCaptureState)
>
> Can we have
> GetCapture() == e
> With only GetCapture() != es->hwndSelf statemet, the string selection will
occur
> even if the capturing is done by external processes.
So what you are saying is that an external process captures the mouse,
and somehow GetCapture() returns the handle of this edit. Why would
tha
> Corrected the determination of capturing inside EDIT_WM_MouseMove
function.
> - if (GetCapture() != es->hwndSelf)
> + if (GetCapture() != es->hwndSelf || !es->bCaptureState)
Can we have
GetCapture() == es->hwndSelf && !es->bCaptureState
If so, isn't this an invalid