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. WebBrowser AND Internet Options

WebBrowser AND Internet Options

Scheduled Pinned Locked Moved C / C++ / MFC
toolsdatabasetutorialquestionlounge
3 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.
  • R Offline
    R Offline
    RaymondM
    wrote on last edited by
    #1

    On Sep 22 I put up this query, but without getting any answer: I have the webbrowser in a program but want also to access the equivalent of this functionality: internet explorer: Tools/internet options/general/fonts/language script I expect it is not something exposed in the webbrowser, but otherwise. Does anyone know how it can be done ? SINCE then I have found how to do it, and since it is relatively straightforward, I am surprised not to get any answer. The solution is given in the Microsoft book, Programming the Internet Explorer. It all hinges on the lines: hr=lpDispatch->QueryInterface(IID_IOleCommandTarget, (void**)&lpOleCommandTarget); hr=lpOleCommandTarget->Exec(pguidCmdGroup,nCmdID,0,NULL,NULL); where nCmdID =3 if you want the Internet Options. If you are interested you will find all the details in the book. Raymond Mercier

    R 1 Reply Last reply
    0
    • R RaymondM

      On Sep 22 I put up this query, but without getting any answer: I have the webbrowser in a program but want also to access the equivalent of this functionality: internet explorer: Tools/internet options/general/fonts/language script I expect it is not something exposed in the webbrowser, but otherwise. Does anyone know how it can be done ? SINCE then I have found how to do it, and since it is relatively straightforward, I am surprised not to get any answer. The solution is given in the Microsoft book, Programming the Internet Explorer. It all hinges on the lines: hr=lpDispatch->QueryInterface(IID_IOleCommandTarget, (void**)&lpOleCommandTarget); hr=lpOleCommandTarget->Exec(pguidCmdGroup,nCmdID,0,NULL,NULL); where nCmdID =3 if you want the Internet Options. If you are interested you will find all the details in the book. Raymond Mercier

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

      Thanks for your post, Raymond.  Is this[^] the book to which you're referring? /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

      R 1 Reply Last reply
      0
      • R Ravi Bhavnani

        Thanks for your post, Raymond.  Is this[^] the book to which you're referring? /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

        R Offline
        R Offline
        RaymondM
        wrote on last edited by
        #3

        Yes, that's it: Programming Microsoft Internet Explorer 5 (Microsoft Programming Series) (Paperback,)by Scott Roberts The material you need is on pp.259-262. Although the book was written for IE5, and I am now using IE6, and Visual Studio 6 & 7, the code does not need to be changed, not even the GUID for CGID_WeBrowser. Raymond

        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