Главная страница
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.029 c
7-79210
NaemNIK
2003-09-15 13:38
2003.11.24
Ctrl-Alt-Dl


3-78816
licherep
2003-11-04 19:02
2003.11.24
как можно обойти не переименовывая поле?!


7-79211
Armageddon
2003-09-15 17:08
2003.11.24
автоматическое изменение прав доступа


1-78921
JS
2003-11-12 11:36
2003.11.24
inline-функции


6-79081
beglec
2003-09-29 01:13
2003.11.24
Некоторые изменения в Delphi 7