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);
  if GetSystemMetrics(SM_MOUSEPRESENT)<>0 then
    Label1.Caption:='You have a mouse'
    Label1.Caption:='You have not a mouse';
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes