Вниз
Скачать: CL | DM;

Как узнать координаты курсора мыши в KOL ???   Найти похожие ветки 

 
Ok   (2004-09-05 20:03) [0]

Как узнать координаты курсора мыши в KOL ???


 
ecm   (2004-09-05 20:51) [1]

GetCursorPos
Только KOL здесь не причем - это функция API  :)
The GetCursorPos function retrieves the cursor"s position, in screen coordinates.

Syntax

BOOL GetCursorPos(          LPPOINT lpPoint
);
Parameters

lpPoint
[out] Pointer to a POINT structure that receives the screen coordinates of the cursor.
Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.


 
ecm   (2004-09-05 22:01) [2]

function Client2Screen( const P: TPoint ): TPoint;
   {* Converts the client coordinates of a specified point to screen coordinates. }
   function Screen2Client( const P: TPoint ): TPoint;
   {* Converts screen coordinates of a specified point to client coordinates. }


 
OK   (2004-09-06 19:41) [3]

Функцыя GetCursorPos выдает ошыбку
Statement expected, but expression of type "LongBool" found

Можна примерчик


 
SPeller ©   (2004-09-07 04:08) [4]


> Statement expected, but expression of type "LongBool" found

Н-да, тяжелый случай.


 
OK   (2004-09-07 21:31) [5]

SPeller ©
Н-да, тяжелый случай.

И чем???


 
Defunct ©   (2004-09-07 21:57) [6]

> Как узнать координаты курсора мыши

 Mouse.CursorPos



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.029 c
3-1093791919
ghrup
2004-08-29 19:05
2004.09.26
Как сделать, чтобы TTable позволял редактировать запись, но не по


3-1093424056
IGray
2004-08-25 12:54
2004.09.26
Посоветуйте плиз DBGrid с мультиселектом и сортировкой


4-1092900410
Lizka
2004-08-19 11:26
2004.09.26
Как узнать версию офис из программы?


14-1093712962
Piter
2004-08-28 21:09
2004.09.26
Забавно... учитесь, автовладельцы! :)


14-1093740231
Nick0la
2004-08-29 04:43
2004.09.26
Есть ли горячая клавиша для путешествия по операторным скобкам?




   Наверх