Delphi-PRAXiS
Seite 3 von 3     123   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Vom Form Handle zum Icon (https://www.delphipraxis.net/76019-vom-form-handle-zum-icon.html)

halinchen 16. Mai 2007 13:42

Re: Vom Form Handle zum Icon
 
Zitat:

Zitat von Mackhack
Brauchst du dazu nicht MSDN-Library durchsuchenExtractIcon oder MSDN-Library durchsuchenExtractIconEx??? Du uebergibst der Funktion den Index der Icons die du haben willst und schwupps hast du alle da!

MSDN
The ExtractIcon function retrieves a handle to an icon from the specified executable file, DLL, or icon file.


Klingt für mich, als würde es aus einer Icon-Datei ein TIcon machen. Aber das hat man ja schon.

[edit]Ich möchte mich dann auch bedanken! Klappt prima! :thumb: [/edit]

DGL-luke 16. Mai 2007 14:00

Re: Vom Form Handle zum Icon
 
Wenn man mehrere Icons will, die zum Beispiel in einer DLL gespeichert sind, macht das schon Sinn.

halinchen 16. Mai 2007 14:04

Re: Vom Form Handle zum Icon
 
Zitat:

Zitat von DGL-luke
Wenn man mehrere Icons will, die zum Beispiel in einer DLL gespeichert sind, macht das schon Sinn.

Naja, aber eine DLL ist ja auch eine Datei. Ich meinte das so, dass das Icon ja schon im Speicher ist und man es nicht aus einer Datei extrahieren muss.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:57 Uhr.
Seite 3 von 3     123   

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