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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. how to access controls in microsft webbrowser

how to access controls in microsft webbrowser

Scheduled Pinned Locked Moved Web Development
htmltutorial
5 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.
  • S Offline
    S Offline
    smr85
    wrote on last edited by
    #1

    i have a project for add some facilities to web broweser,so i used the microsoft webbrowser that do the most functionlity for any browser.. but i want when it view the page know its contols,what are X,Y positions for its controls(textboxx,buttons....),how many buttons in Page...somthing like that may be i have another way 2 get the html and paser it ...but i will need to know how it make rendering for the content of the page

    M 1 Reply Last reply
    0
    • S smr85

      i have a project for add some facilities to web broweser,so i used the microsoft webbrowser that do the most functionlity for any browser.. but i want when it view the page know its contols,what are X,Y positions for its controls(textboxx,buttons....),how many buttons in Page...somthing like that may be i have another way 2 get the html and paser it ...but i will need to know how it make rendering for the content of the page

      M Offline
      M Offline
      Matthew Hazlett
      wrote on last edited by
      #2

      Wow, I'm really not eactly sure what you are trying to do. I think what you want is to add a javascript/DHTML to the web page that will enumerate all the objects, then you can use the properties of the objects to determin their position. Look at: -------- element.top element.left element.offsetHeight element.offsetWidth http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp[^] Matthew Hazlett

      S 1 Reply Last reply
      0
      • M Matthew Hazlett

        Wow, I'm really not eactly sure what you are trying to do. I think what you want is to add a javascript/DHTML to the web page that will enumerate all the objects, then you can use the properties of the objects to determin their position. Look at: -------- element.top element.left element.offsetHeight element.offsetWidth http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp[^] Matthew Hazlett

        S Offline
        S Offline
        smr85
        wrote on last edited by
        #3

        in fact u didnot get what i want.... i wanna 2 add facilties 2 web browser as example when mouse move over on words on the pags it turned 2 speech.. somthing like that..so i need to know the positions of text.. button.. and so on in any page opend

        M 1 Reply Last reply
        0
        • S smr85

          in fact u didnot get what i want.... i wanna 2 add facilties 2 web browser as example when mouse move over on words on the pags it turned 2 speech.. somthing like that..so i need to know the positions of text.. button.. and so on in any page opend

          M Offline
          M Offline
          Matthew Hazlett
          wrote on last edited by
          #4

          This is a tad outside the scope or a quick answer. Tell ya what, after you write the speech engine let me know and I'll tell you how to do the rest.. heh Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

          S 1 Reply Last reply
          0
          • M Matthew Hazlett

            This is a tad outside the scope or a quick answer. Tell ya what, after you write the speech engine let me know and I'll tell you how to do the rest.. heh Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).

            S Offline
            S Offline
            smr85
            wrote on last edited by
            #5

            speech engine isnot problem... it was just example..all i meant that i need 2 access the content of the page that requested.. so consider that i did tts and give me the rest...:)

            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