Autor Beitrag
cybersoul
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 43



BeitragVerfasst: So 13.02.05 14:18 
Hi,

gibt es eine Möglichkeit mit ExtractAssociatedIcon
große Icons zu bekommen?

Gruss,
Heiko
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: So 13.02.05 14:33 
meinst du 48x48 icons?
die gehen doch auch?!

MfG, Scorpion!

_________________
Aus dem Urlaub zurück!
cybersoul Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 43



BeitragVerfasst: So 13.02.05 14:53 
Jo, genau die meine ich.

Könntest du mal ein Beispiel bringen?
Ich bekomme immer die normalen (32x32) zurück.

Beispiel:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
  ico:=ticon.create;
  index:=0;
  Path:=StrPCopy(Path,'c:\Autoexec.bat');
  handle:=extractassociatedIcon(hInstance,Path,Index);


Hab auch schon versucht vorher die Größe des Icons zu setzen.

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt.
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: So 13.02.05 14:55 
mach es doch mit einem resource-extractor (müsste einer bei den delphi-demos dabei sein). da ist auch der source!

_________________
Aus dem Urlaub zurück!
cybersoul Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 43



BeitragVerfasst: So 13.02.05 14:58 
Ich hätte es halt gerne mit dieser Methode.
Das wäre am einfachsten.
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: So 13.02.05 15:03 
tja, leider muss man sich manchmal auch anstrengen! :roll: :wink:

_________________
Aus dem Urlaub zurück!


Zuletzt bearbeitet von ScorpionKing am So 13.02.05 15:16, insgesamt 1-mal bearbeitet
cybersoul Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 43



BeitragVerfasst: So 13.02.05 15:12 
:D