Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.09.26;
Скачать: 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 вся ветка

Текущий архив: 2004.09.26;
Скачать: CL | DM;

Наверх




Память: 0.48 MB
Время: 0.056 c
4-1092327296
Константинов
2004-08-12 20:14
2004.09.26
Как вкл/выкл автоповтор символов при удержании клавиши клавиатуры


14-1094185947
Oyster
2004-09-03 08:32
2004.09.26
Помогите с Васиком


4-1092655227
Valera
2004-08-16 15:20
2004.09.26
Помогите с защитой CD от копирования


1-1095061628
Dimedrol
2004-09-13 11:47
2004.09.26
Не всегда удаляются каталоги


1-1094463431
Gear
2004-09-06 13:37
2004.09.26
Как отобразить ListBox в уже прокрученном вниз виде?