You may find the MiddleClick, MouseDown, and MouseMove events helpful in your endeavour. The nButton parameter for mousedown and mousemove will be 4 if it is the middle mouse button.
Those are events that fire for the combobox control. You needn't send in the lparameters as VFP/Windows will handle this for you...you just need to check the results and then do whatever you want based on whether the user was using the middle mouse button.
Code:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
if nButton = 4
*!* Do something useful here
endif
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.