How to insert text at cursor position in a web browser?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, This is what I did (VC++ 6.0): 1. Add a new dialog 2. Insert ActiveX Control: Microsoft Web Browser (which added CWebBrowser2 class) 3. Add the object in the dialog 4. Create a variable for that object (CWebBrowser2 m_ctlBrowser;) Now, so far so good. I can go to the website I want. My question is: once I am in the desired website which prompts user input, I want to be able to simply press a button to fill it out. Let's say I already put the cursor there and there is only one "edit box" to fill. Is this doable? Thanks for any suggestion.