Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to insert text at cursor position in a web browser?

How to insert text at cursor position in a web browser?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++comtutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joe Smith IX
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups