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. Check boxes and HtmlView

Check boxes and HtmlView

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 4 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.
  • B Offline
    B Offline
    Bret Faller
    wrote on last edited by
    #1

    Good day, How would I go about determining whether a checkbox is checked/unchecked on a webpage inside my HTMLView? This is a custom webpage that I have the source and know all the info about it. The view doesn't allow users to cruise the net, its like the Outlook Express startup page. Any leads/info/help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

    N 1 Reply Last reply
    0
    • B Bret Faller

      Good day, How would I go about determining whether a checkbox is checked/unchecked on a webpage inside my HTMLView? This is a custom webpage that I have the source and know all the info about it. The view doesn't allow users to cruise the net, its like the Outlook Express startup page. Any leads/info/help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      You need to gain access to the IWebBrowser2 interface, then from there get the document element and navigate the DOM to the element in question. I use the techniques in this article Using XML, XSL, DHTML and Javascript in your Windows applications

      B J L 3 Replies Last reply
      0
      • N Not Active

        You need to gain access to the IWebBrowser2 interface, then from there get the document element and navigate the DOM to the element in question. I use the techniques in this article Using XML, XSL, DHTML and Javascript in your Windows applications

        B Offline
        B Offline
        Bret Faller
        wrote on last edited by
        #3

        This is a nice article and I thank you for your response. The problem is that this is for CE and is a CCtrlView which uses DISPLAYCLASS (the name of the html control class under CE). Is it still possible with this as the base class or do I need to redo this class? Thank you once again for your response. Bret Faller Odyssey Computing, Inc.

        1 Reply Last reply
        0
        • N Not Active

          You need to gain access to the IWebBrowser2 interface, then from there get the document element and navigate the DOM to the element in question. I use the techniques in this article Using XML, XSL, DHTML and Javascript in your Windows applications

          J Offline
          J Offline
          JRP
          wrote on last edited by
          #4

          I will give that a shot. I will respond a bit later with the results. Thank you very much.

          1 Reply Last reply
          0
          • N Not Active

            You need to gain access to the IWebBrowser2 interface, then from there get the document element and navigate the DOM to the element in question. I use the techniques in this article Using XML, XSL, DHTML and Javascript in your Windows applications

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            I tried to get an IHTMLWindow2 interface using your suggestion, but was unsuccessful. I need to use the function HRESULT IHTMLWindow2::get_history(IOmHistory **p), but I have yet to find a way to reach that interface. Perhaps I am not looking at the right place or that interface is not reachable. I am a little new to this area of VC++, please excuse me if the answer might be apparent. :) Jamie Parent VC++ Developer Digital Immersion jamie@digital-immersion.com

            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