None. |
Unlike the other similar commands (dxMouseDown and dxMouseHit), this command doesn't need to know which button you are trying to test for. It looks for any mouse button, then returns the number the user clicked. Since you are polling all the mouse buttons instead of just a specific one, this may be a tad less efficient than using dxMouseDown or dxMouseHit. Use this command in conjunction with Select/Case for maximum efficiency! |
; dxGetMouse Example While Not dxKeyHit(1) button=dxGetMouse() If button <> 0 Then dxPrint "You pressed mouse button #" + button End If Wend |