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

WebBrowser

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi all, I want to add the functionality , that set the url document, right to left document and left to right document. In visual c++ , mfc. Please help.... thanks Lilach.

    U 1 Reply Last reply
    0
    • L Lost User

      Hi all, I want to add the functionality , that set the url document, right to left document and left to right document. In visual c++ , mfc. Please help.... thanks Lilach.

      U Offline
      U Offline
      User 1052
      wrote on last edited by
      #2

      I'm a little confused about what you needed... but here is instruction on how to include the web browser control on a dialog. Go to project, Add To Project, Components and Controls. Go to Registered Active X controls and select Microsoft Web Browser. This should create the files WebBrowser2.cpp & .h In you dialog #inlcude “WebBrowser2.h” then when you want to fill in you browser with a site add the following CWebBrowser2* pBrowser = (CWebBrowser2*)GetDlgItem( IDC_EXPLORER1 ); COleVariant varEmpty = new COleVariant; pBrowser->Navigate( "http://www.carolecode.com", &varEmpty, &varEmpty,&varEmpty, &varEmpty ); ================== The original message was: Hi all,

      I want to add the functionality , that set the url document, right to left document and left to right document. In visual c++ , mfc. Please help....

      thanks Lilach.

      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