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