Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 01.08.04 11:56 
Hallo,
ich möchte gerne das Mausfenster "einzeunen" aber wie geht das ???

_________________
MFG
Michael Springwald, "kann kein englisch...."
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 01.08.04 12:04 
Such einfach mal nach Suche in: Delphi-Forum, Delphi-Library CLIPRECT oder Suche in: Delphi-Forum, Delphi-Library MAUS EINZÄUNEN oder probier das hier:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var ARect:TRect;
begin
 ARect:=Rect(100,100,200,200);
 ClipCursor(@ARect);
 ClipCursor(nil);
end;


(Hat maxk hier bereits gepostet)

raziel

_________________
JSXGraph
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 01.08.04 12:11 
danke, werde ich teste..

komisch, ich habe nach Maus Fenster gesucht und nur mist gefunden :x

_________________
MFG
Michael Springwald, "kann kein englisch...."
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 01.08.04 12:15 
geht leider nicht :(
ich habe folgenden code:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
  DXDraw1.Cursor:=-1;
  ARect:=Rect(640,480,0,0);
  ClipCursor(@ARect);
  ClipCursor(nil);


mein fenster ist 640 X 480 groß

_________________
MFG
Michael Springwald, "kann kein englisch...."
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 01.08.04 12:18 
Dann lass doch einfach mal das ClipCursor(nil); weg, das ist zum Aufheben der Maussperre zuständig!

raziel

_________________
JSXGraph