Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Icon ohne Verknüpfungspfeil? (https://www.delphipraxis.net/93407-icon-ohne-verknuepfungspfeil.html)

Jonas 5. Jun 2007 14:13


Icon ohne Verknüpfungspfeil?
 
Hi. Ich hab ne kleine Frage. Ich lese
Delphi-Quellcode:
  SHGetFileInfo(PChar(StringList[i]), FILE_ATTRIBUTE_NORMAL, Info,
                  SizeOf(TSHFileInfo), SHGFI_ICON or SHGFI_SMALLICON);
soIcons aus nem Ordner aus, jedoch hat jedes der Symbole leider einen Verknüpfungspfeil, da es Verknüpfungen sind. Ich hätte jedoch gerne die Symbole ohne diesen Verknüpfungspfeil.
Was muss ich tun?

Bernhard Geyer 5. Jun 2007 14:27

Re: Icon ohne Verknüpfungspfeil?
 
Die Datei suchen die Verknüpft ist und dort das Icon auslesen.

bitsetter 5. Jun 2007 16:17

Re: Icon ohne Verknüpfungspfeil?
 
Hi,

hast du diesen Link SHGetFileInfo und 'lnk-files' schon mal ausprobiert?

Jonas 5. Jun 2007 17:57

Re: Icon ohne Verknüpfungspfeil?
 
Yups und das funktioniert bei mir nicht wirklich. Ich bekomme falsche Symbole ausgelesen.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz