Re: win32lib: mouse event
- Posted by Derek Parnell <ddparnell at bigpond.com> Mar 24, 2003
- 384 views
On Mon, 24 Mar 2003 17:04:41 +1030, <daryl_vdb at hotmail.com> wrote: > > > I noticed win32lib seems to be missing some LeftDown mouse events when > the left mouse button is clicked multiple times in quick succession. My > guess is that a LeftDoubleClick event is being sent but LeftDown is being > ignored. I'm using version 0.57.9. AFAIK, an older version of win32lib > (I can't remember which one) didn't have this problem, and I'd like to > see this fixed in the future. > Hi Daryl, I'm not so sure that earlier versions did that either. Currently the sequence of events for a left double click is ... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBLCLK WM_LBUTTONUP Win32lib does not filter the button down event. Windows itself must be doing that. What would you like to see instead? ... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONUP WM_LBUTTONDOWN WM_LBUTTONDBLCLK maybe? Though to be nice and logically consistant I suppose we should be seeing ... WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONCLK WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBLCLK However there is no such thing as WM_LBUTTONCLK. -- cheers, Derek Parnell