Главная страница
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.031 c
1-79032
Hek
2003-11-14 20:56
2003.11.24
Можно ли повесить свой обработчик на исключения Delphi


1-78963
Agent[007]
2003-11-11 22:25
2003.11.24
MDI Child


3-78764
pashaz
2003-11-02 20:33
2003.11.24
вывод в DBGrid


1-78937
Lonely_Wolf
2003-11-12 11:36
2003.11.24
RichEdit


6-79087
Yol
2003-09-27 21:37
2003.11.24
Звук по сети