Autor Beitrag
Spaceguide
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 552


(D3/D7/D8) Prof.
BeitragVerfasst: Do 24.03.05 14:44 
Wenn man den Cursor ändert tut sich erstmal nichts, erst wenn man die Maus bewegt. Ein Workaround gegen dieses Verhalten ist das "Verschieben" des Cursors auf die selbige Position:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
var tp : TPoint

 GetCursorPos(tp);
 SetCursorPos(tp.x,tp.y);


Ich frage mich aber, was das soll.
demo88
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Ubuntu 6.04, Win XP
Delphi 7
BeitragVerfasst: Do 24.03.05 15:00 
Ich versteh irgendwie dein Problem nicht so ganz??
Spaceguide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 552


(D3/D7/D8) Prof.
BeitragVerfasst: Do 24.03.05 15:16 
Na wenn der Cursor über dem Image ist und ich ändere ihn tut sich garnix, erst nach Bewegen der Maus.
demo88
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Ubuntu 6.04, Win XP
Delphi 7
BeitragVerfasst: Do 24.03.05 16:19 
Ja ist ja auch richtig!
Aber ich verstehe deine Frage nicht...
Spaceguide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 552


(D3/D7/D8) Prof.
BeitragVerfasst: Do 24.03.05 16:46 
Da ist garnichts richtig dran, das ist ein verdammt blödes Verhalten und nötigt des Programmierer wieder irgendwas hinzupfuschen.
demo88
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Ubuntu 6.04, Win XP
Delphi 7
BeitragVerfasst: Do 24.03.05 16:49 
:D ist das nicht immer so :wink:
Spaceguide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 552


(D3/D7/D8) Prof.
BeitragVerfasst: Mo 28.03.05 17:33 
Nur für die Akten:

Ein

ausblenden Delphi-Quelltext
1:
Perform(WM_SETCURSOR,Handle,HTCLIENT);					


nach Ändern des Cursors tut es auch, selbst wenn die Maustaste gedrückt wurde (was ansonsten auch keine Änderung zur Wirkung hat).