Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2004.09.26;
Скачать: [xml.tar.bz2];

Вниз

Как узнать координаты курсора мыши в 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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.03 c
3-1093606871
Aleksandr.
2004-08-27 15:41
2004.09.26
Как совместить сессию и TDataBase потока с bdeAPI?


3-1093583719
Desperado
2004-08-27 09:15
2004.09.26
ошибка в IBAlloc


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


9-1086199501
Кто-то
2004-06-02 22:05
2004.09.26
Сетевая игра - что использовать?


8-1088683121
S@shka
2004-07-01 15:58
2004.09.26
Возможно ли сохранить звуковую информацию?





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский