Autor Beitrag
Xelos
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Di 01.10.02 12:41 
Moin;)
Nun das nächste Prob mit Timage *g*.

Funktionsbeschreibung:
Ich möchte von einer Webseite ein JPeg in die Zwischenablage kopieren und in eine TImage Kompo einfügen.

Mein Code sieht für das Einfügen so aus:
ausblenden Quelltext
1:
image1.Picture.LoadFromClipBoardFormat(cf_BitMap,ClipBoard.GetAsHandle(cf_Bitmap),0);					


Problem:
Von manchen Webseiten geht das und von einigen nicht.
Jede Grafik, die ich einfügen wollte ist aber nach dem Speicher ein JPG.
Und von Datei lässt sie sich auch laden.
Ist der Code zum einfügen nicht ganz richtig?

Thx schonmal für die Mühe

Gruss
Xelos
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Di 01.10.02 12:58 
Hallo Xelos,

ich kann es jetzt gerade nicht ausprobieren, aber verusch doch mal statt cf_BitMap ein cf_JPeg als Parameter zu übergeben.

_________________
If accidentally read, induce vomitting.
Xelos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Di 01.10.02 16:32 
Leider nicht.
Es gibt kein CF_Jpeg

Gruss
Xelos