SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Detect a mouse in the system

Use GetSystemMetrics function with SM_MOUSEPRESENT parameter.

procedure TForm1.Button1Click(Sender: TObject);
begin
  if GetSystemMetrics(SM_MOUSEPRESENT)<>0 then
    Label1.Caption:='You have a mouse'
  else
    Label1.Caption:='You have not a mouse';
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes