processlist SystemIcon16Handle property
Return to Introduction  Previous page  Next page
Applies to
acProcess object.  

Declaration
property SystemIcon16Handle: hIcon; // read-only!  

Description
The SystemIcon16Handle determines the handle of the 16x16 icon of the application process.  

Example
// Demonstrates how to assign the handle to icon object and display it in the TImage component  
procedure TForm1.ListView1SelectItem(Sender: TObject; Item: TListItem;  
  Selected: Boolean);  
begin  
  if Item <> nil then  
    Image1.Picture.Icon.Handle := TacProcess(Item.Data).SystemIcon16Handle;  
end;  

See also
SystemIconIndex and SystemIcon32Handle properties;  
acSystemImageList component.