Autor Beitrag
DelphiNoob
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 152

Win 2003 Server
D7 Ent
BeitragVerfasst: Mi 12.03.03 16:15 
Hi,

ich habe aus der Shell32.dll ein Icon extrahiert und als *.res Datei gespeichert. Eingefügt und kompiliert. Ista uch wunderbar in der EXE vorhanden, nur möcht ich gerne wissen wie ich jetzt z.b. bei einem neuen Icon in ListView das icon anhänge?

Es ist ja nicht das MAINICON. Daher mein unwissen.

Also bitte nicht auslachen :roll: :roll:

--------------------------

Mein 100 post! *freu*
Thunder00
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52



BeitragVerfasst: Mi 12.03.03 19:48 
Das hab ich für Bitmaps bei TImage:

ausblenden Quelltext
1:
Image1.Picture.Bitmap.Handle:=LoadBitmap(hInstance, '[i]Bildname[/i]');					


Also die Res-Datei is
ausblenden Quelltext
1:
Bildname Bitmap Bild.bmp					


Bei dir müsste es dann
ausblenden Quelltext
1:
Bildname Icon Icon.ico					


OK??[/i]

_________________
If you can't make it good, at least make it looks good. (Bill Gates)
DelphiNoob Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 152

Win 2003 Server
D7 Ent
BeitragVerfasst: Mi 12.03.03 19:53 
ich habe eigentlich die ICONs als *.res datei exportiert aus der shell32.dll

somit binde ich einfach nur mit {$R xy.res} die datei ein

wird auch prima eingebunden