Re: Corrected the determination of capturing inside EDIT_WM_MouseMove function.

2005-05-24 Thread taro-x
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

Re: Corrected the determination of capturing inside EDIT_WM_MouseMove function.

2005-05-20 Thread taro-x
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

Re: Corrected the determination of capturing inside EDIT_WM_MouseMove function.

2005-05-20 Thread Dimitrie Paun
> 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

Re: Corrected the determination of capturing inside EDIT_WM_MouseMove function.

2005-05-19 Thread taro-x
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

Re: Corrected the determination of capturing inside EDIT_WM_MouseMove function.

2005-05-19 Thread Dimitrie Paun
> 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

Re: Corrected the determination of capturing inside EDIT_WM_MouseMove function.

2005-05-17 Thread Dimitrie Paun
> 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