Autor Beitrag
henny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: Sa 06.06.09 09:32 
Wie Programmiere ich das der curser nach dem Programmstart in einen Viereck gefangen ist?


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Sa 06.06.2009 um 12:37
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 06.06.09 09:37 
Meinst du ClipCursor?

Du musst dabei aber sehr aufpassen was du tust, denn schließlich verhinderst du damit einen Zugriff auf andere Fenster. Das kann man zwar sofort mit Strg + Alt + Entf wieder aufheben, aber man sollte so etwas normalerweise nicht machen.
henny Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: Sa 06.06.09 11:15 
Danke das du mich gewarnt hast dann versuche ich es nicht zu Programmieren!
hathor
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 05.09.09 18:26 
Zufällig bin ich auf diesen Thread gestossen - die Antwort ist natürlich unbfriedigend für einen Delphianer!

Mit ClipCursor(NIL) hebt man die Restriktionen im Programm wieder auf.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 05.09.09 18:45 
user profile iconhathor hat folgendes geschrieben Zum zitierten Posting springen:
Mit ClipCursor(NIL) hebt man die Restriktionen im Programm wieder auf.
Ja, natürlich, das steht doch alles in der verlinkten Doku. :nixweiss:
Zitat:
If this parameter is NULL, the cursor is free to move anywhere on the screen.