Maus – CursorPostion ermitteln Borland C++ Builder |
TPoint *mausxy = new TPoint;
GetCursorPos(mausxy);
int x = mausxy->x – Form1->Left;
int y = mausxy->y – Form1->Top;
Label1->Caption = “X= ” + IntToStr(x) + ” Y= ” + IntToStr(y);
delete mausxy;
Maus – CursorPostion ermitteln Borland C++ Builder |
TPoint *mausxy = new TPoint;
GetCursorPos(mausxy);
int x = mausxy->x – Form1->Left;
int y = mausxy->y – Form1->Top;
Label1->Caption = “X= ” + IntToStr(x) + ” Y= ” + IntToStr(y);
delete mausxy;




5,00
von
5
Punkten, basieren auf
1
abgegebenen Stimmen.
Copyright © 2012 by MBDealer - Tipps, Tricks und Code-Snippets für Programmierer vom Programmierer | Maus – CursorPostion ermitteln