Mega Code Archive

 
Categories / Delphi / Examples
 

Isctrl

Is the Control key held down function IsCTRL: Boolean; begin Result := GetKeyState(VK_CONTROL) and 128 <> 0; end;