Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.11.24;
Скачать: CL | DM;

Вниз

Клик мыши   Найти похожие ветки 

 
ASt   (2003-11-13 17:58) [0]

Как можно программно имитировать клик мыши на компоненте?


 
panov ©   (2003-11-13 18:10) [1]

На каком?


 
serge   (2003-11-13 18:10) [2]

sendmessage(component.handle, wm_lbuttondown, ....)
...
sendmessage(component.handle, wm_lbuttonup, ....)

ili

The mouse_event function synthesizes mouse motion and button clicks.

VOID mouse_event(

DWORD dwFlags, // flags specifying various motion/click variants
DWORD dx, // horizontal mouse position or position change
DWORD dy, // vertical mouse position or position change
DWORD dwData, // amount of wheel movement
DWORD dwExtraInfo // 32 bits of application-defined information
);


 
Maxud ©   (2003-11-13 18:31) [3]

Component.Click(nil)



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

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

Наверх




Память: 0.47 MB
Время: 0.018 c
14-79135
aVast
2003-11-03 11:07
2003.11.24
а круто ли это?


14-79124
Style
2003-10-28 16:13
2003.11.24
SM80, SM300


1-78890
OpenGL
2003-11-13 10:19
2003.11.24
Проблема, черт возьми!!!!!!!!!!!!!!!


1-79001
Stalker780
2003-11-14 12:24
2003.11.24
KOI-8 -> Windows и обратно


1-79035
Relaxxx
2003-11-12 17:18
2003.11.24
Нужна очень странная вещь....ДЕРЕВО-ТАБЛИЦА???????7