Autor Beitrag
DJ-DJ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Di 21.12.04 19:34 
Hi auch!

Ich wollte ein Programm schreiben,. in dem man den Mauscursor auswählen kann...Dieser soll geladen werden, wenn man mit der Maus auf ein z.B. TImage klickt, in dem die *.cur oder *ani Datei geladen ist. Leider hab ich keine Ahnung, in welcher Komponente man eine .ani oder .cur Datei laden und anzeigen kann...
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 22.12.04 19:24 
Soll der geladene Cursor dann der Cursor in deinem Programm sein oder als Bild oder Animation irgendwo angezeigt werden??

mfG WeBePaCe
DJ-DJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Mi 22.12.04 20:52 
ähm, es sollen verschiedene Cursors in TImage Komponenten angezeigt werden, wie ein Bild...also nicht direkt den Mauscursor so ändern..
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 22.12.04 20:56 
Also ich halt nochmal fest: Mauscursor bleibt auf crDefault oder was auch immer und du möchtest den Cursor wie ein Bild anzeigen??
DJ-DJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Do 23.12.04 10:21 
Genau, der Cursor bleibt auf Delfault und es sollen ani oder cur Dateien in einer Komponente als Bild dargestellt werden...
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 23.12.04 13:25 
Puh, also TImage lädt sie mit
ausblenden Delphi-Quelltext
1:
Image1.Picture.LoadFromFile();					

auf jeden Fall nicht.

Es gibt da aber noch
ausblenden Delphi-Quelltext
1:
Image1.Picture.LoadFromClipboardFormat();					

... Ich weiß aber nicht wie das funktioniert. Außerdem müsste man das Bild oder die Animation erstmal in die Zwischenablage kopieren, was wohl auch nicht so einfach ist...

Hast du schonmal nach einer Komponente gesucht, die solche Dateitypen öffnen kann??

Ich würd mir mal den Aufbau einer .cur-Datei angucken, ist ja eigentlich auch nichts anderes als ein Bitmap, oder???

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
DJ-DJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Do 23.12.04 14:27 
Ja, ich hab so n bissle gegoogelt, aber nichts gefunden und der Aufbau, den hab ich mir noch net angesehen, aknn ich aba versuchen...
adelive
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Sa 01.01.05 23:16 
ZU Runterladen :
Ani.cur.ico Editor 3.5 unter www.icondiy.com/download/icondiy_setup.exe
DJ-DJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: So 02.01.05 16:25 
Ja danke, aber soweit ich gesehen habe ist dieses Programm zum erstellen von ico cur oder ani Dateien und keine komponente um diese Dateien in einem Delphi-Programm zeichnen zu lassen