Re: Mouse Eventes Again
- Posted by Derek Parnell <ddparnell at bigpond.com> Nov 29, 2004
- 514 views
Sergio Gelli wrote: > > > Hello List > > I am using a Windows Millennium Edition. > > Why I can't detect the Middle Buttom in the code below? > Any suggestion? This happens because the library does not trap middle mouse button actions. To fix this right now, you need to edit the library. Find the lines ... vEventsHandled = { WM_MOUSEMOVE, and add after those lines ... WM_MBUTTONDOWN, WM_MBUTTONUP, WM_MBUTTONDBLCLK, Then find the lines ... vHandler = { routine_id("fDoMouse"), and add after those lines ... routine_id("fDoMouse"), routine_id("fDoMouse"), routine_id("fDoMouse"), The middle mouse button will now trigger a w32HMouse event. I've fixed this for the next release. -- Derek Parnell Melbourne, Australia