Know if there is a mouse and determine it's number of buttons  

Send By: Q3 Team
Web :
Date: 14/04/00

Tip accessed 635 times


With this call to Windows Api:


Will return the number of buttons or 0 if there aren't any mouse installed in the system

Updated at 27/09/99
Thanks to Xavier Martínez that warned me that it was bad the constant... SM_CLEANBOOT was instead of SM_CMOUSEBUTTONS (sometimes one get up with bad foot...)