Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Trucos (https://www.clubdelphi.com/foros/forumdisplay.php?f=52)
-   -   Extraer el icono de un archivo (https://www.clubdelphi.com/foros/showthread.php?t=80650)

dec 30-06-2006 23:53:43

Extraer el icono de un archivo
 
Código Delphi [-]
var
  TheIcon:  TIcon;
begin
  TheIcon := TIcon.Create;
  TheIcon.Handle := ExtractIcon(hInstance,'C:\WINDOWS\NOTEPAD.EXE',0);
  { .... hacer algo con el Icono }
  TheIcon.Free;
end;


La franja horaria es GMT +2. Ahora son las 11:12:39.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi