...prüfen ob die angeschlossene Maus ein Mausrad hat?
Autor: Simon Grossenbacher
function MouseWheelExists: Boolean;
begin
Result := GetSystemMetrics(SM_MOUSEWHEELPRESENT) <> 0;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
if MouseWheelExists then
ShowMessage('Mouse has wheel.');
end;
printed from
www.swissdelphicenter.ch
developers knowledge base