[quote="hanhao"]Programmically simulate clicking on webbrowser2 object
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Programmically simulate clicking on webbrowser2 object how do i Programmically click on webbrowser2 object? i tried
m_webbrowser.SendMessage(WM_LBUTTONDBLCLK,MK_LBUTTON, (LPARAM)MAKELONG(291, 125) ); m_webbrowser.SendMessage(WM_LBUTTONDOWN,MK_LBUTTON, (LPARAM)MAKELONG(291, 125) );
but they do not work. is there anyway to simulate clicks on it? there are some conditions that i must strictly follow - i do not want my actual mouse cursor to move at all. - the click must be relative to the control, not to the screen rdgs, hanhao using VC++ 6.0 :)