Главная страница | назад





Article #18765: Detecting if a mouse has a wheel

 Question and Answer Database
FAQ3765D.txt — Detecting if a mouse has a wheel
Category :VCL
Platform :Win95/NT
Product :Delphi4.x,
Question:
How can I detect if the currently installed mouse has
a wheel?
Answer:
By taking advantage of the new global mouse object which
contains information relating to the mouse. The mouse
object has a boolean property called "WheelPresent"
which is true if a mouse wheel is present or false if
none is detetced.
4/2/99 12:20:23 PM

Last Modified: 01-SEP-99