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. Handle of a control in a web page

Handle of a control in a web page

Scheduled Pinned Locked Moved C / C++ / MFC
dockerquestion
2 Posts 2 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
    john knox
    wrote on last edited by
    #1

    Hi ! I want to get handle of a control in a web page. I used WindowFromPoint function but I am getting the handle to the container of that control. I want to know how the events get generated inside a web page and how the controls in the page (like command buttons, combo boxes, etc.,) are identified. If I want to manipulate those controls from out side the browser, is it possible? (like normal window and all it's controls could be mainipulated from out side the application). Thanks in advance... John

    R 1 Reply Last reply
    0
    • J john knox

      Hi ! I want to get handle of a control in a web page. I used WindowFromPoint function but I am getting the handle to the container of that control. I want to know how the events get generated inside a web page and how the controls in the page (like command buttons, combo boxes, etc.,) are identified. If I want to manipulate those controls from out side the browser, is it possible? (like normal window and all it's controls could be mainipulated from out side the application). Thanks in advance... John

      R Offline
      R Offline
      Ravi Shankar
      wrote on last edited by
      #2

      In Internet Explorer you cannot get it. Since the whole container is a single window, you will only get the handle of the container. But you can get in netscape navigator, since they implement as a normal windows program and then create controls on runtime! SO it will work in netscape, but not in IE. Regards Ravi

      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