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. Questions About CHtmlView and A Web Browsing Program

Questions About CHtmlView and A Web Browsing Program

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

    I wrote a Web Browsing Program,there are several problems I can not solve,so please help,thanks a lot Here is my program's picture(sorry that the language is in Chinese,but it has nothing to do with my questions) http://pic.lyglyg.com/yourpic/2005/08/05/c4db079c35bdd1843a4ad893a4016ab8.jpg[^]First ,what the black arrow points is a CComboxBox Control which is located on my CToolbar,My problem is how can I set my url address directly into the edit control of the Combobox control,It seems to me that I can only do this through 2 ways,first add the url into the listbox of combobox and select it so the url will appear in edit box ,or use clipboard to first copy url to clipboard and use combobox's paste function to add it to edit box(without add it to list box),but can I do it directly Second,can I achieve this like type in address in the edit box and press ENTER,then Show the page.It seems to me that the combobox didn't respond the Enter in edit box.Is there some ways to do that Third:the red arrow pointed is CHtmlView Class,it handles page showing well,but how can I deal with this : when I clicked an address,it will pop up a new window,what I want to do is show the address of the new window just in the origin window,Is that possible

    J 1 Reply Last reply
    0
    • J jdnx

      I wrote a Web Browsing Program,there are several problems I can not solve,so please help,thanks a lot Here is my program's picture(sorry that the language is in Chinese,but it has nothing to do with my questions) http://pic.lyglyg.com/yourpic/2005/08/05/c4db079c35bdd1843a4ad893a4016ab8.jpg[^]First ,what the black arrow points is a CComboxBox Control which is located on my CToolbar,My problem is how can I set my url address directly into the edit control of the Combobox control,It seems to me that I can only do this through 2 ways,first add the url into the listbox of combobox and select it so the url will appear in edit box ,or use clipboard to first copy url to clipboard and use combobox's paste function to add it to edit box(without add it to list box),but can I do it directly Second,can I achieve this like type in address in the edit box and press ENTER,then Show the page.It seems to me that the combobox didn't respond the Enter in edit box.Is there some ways to do that Third:the red arrow pointed is CHtmlView Class,it handles page showing well,but how can I deal with this : when I clicked an address,it will pop up a new window,what I want to do is show the address of the new window just in the origin window,Is that possible

      J Offline
      J Offline
      jdnx
      wrote on last edited by
      #2

      Self Pushing up the problem for help,thanks

      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