Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCharacter position of caret (CEdit)? Pin
Anonymous30-Sep-02 12:09
Anonymous30-Sep-02 12:09 
AnswerRe: Character position of caret (CEdit)? Pin
RedZenBird30-Sep-02 12:26
RedZenBird30-Sep-02 12:26 
GeneralNew dialogs Pin
Brakanjan30-Sep-02 11:44
Brakanjan30-Sep-02 11:44 
GeneralRe: New dialogs Pin
Joaquín M López Muñoz30-Sep-02 11:42
Joaquín M López Muñoz30-Sep-02 11:42 
GeneralRe: New dialogs Pin
Brakanjan30-Sep-02 11:58
Brakanjan30-Sep-02 11:58 
GeneralWebBrowser Control & Getting the HTML Source Pin
carrie30-Sep-02 10:47
carrie30-Sep-02 10:47 
GeneralRe: WebBrowser Control & Getting the HTML Source Pin
Stephane Rodriguez.30-Sep-02 11:03
Stephane Rodriguez.30-Sep-02 11:03 
You've probably dropped the IE ocx onto your dialog.

To get the Html from the current web page, you just need to call this method :
HRESULT IWebBrowser2::get_Document(IDispatch** ppDisp);<br />

It returns a IDispatch interface which actually you can cast to IHTMLDocument2. This one is the DOM, ie provides access to the html tags hierarchy.



sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
GeneralRe: WebBrowser Control & Getting the HTML Source Pin
carrie30-Sep-02 11:57
carrie30-Sep-02 11:57 
GeneralRe: WebBrowser Control & Getting the HTML Source Pin
ColinDavies30-Sep-02 14:07
ColinDavies30-Sep-02 14:07 
GeneralRe: WebBrowser Control & Getting the HTML Source Pin
carrie30-Sep-02 22:01
carrie30-Sep-02 22:01 
Generalplease Help for darg drop implementation Pin
rev30-Sep-02 10:37
rev30-Sep-02 10:37 
GeneralRe: please Help for darg drop implementation Pin
Chris Hambleton30-Sep-02 11:19
Chris Hambleton30-Sep-02 11:19 
Generalvector push_back question Pin
ns30-Sep-02 10:33
ns30-Sep-02 10:33 
GeneralRe: vector push_back question Pin
Chris Hambleton30-Sep-02 11:13
Chris Hambleton30-Sep-02 11:13 
GeneralRe: vector push_back question Pin
RedZenBird30-Sep-02 11:21
RedZenBird30-Sep-02 11:21 
Generalgot half of it, thanks, but... Pin
ns30-Sep-02 11:34
ns30-Sep-02 11:34 
GeneralRe: got half of it, thanks, but... Pin
RedZenBird30-Sep-02 12:12
RedZenBird30-Sep-02 12:12 
GeneralForm View Splitter Pin
DarrollWalsh30-Sep-02 10:04
DarrollWalsh30-Sep-02 10:04 
GeneralRe: Form View Splitter Pin
Chris Hambleton30-Sep-02 11:24
Chris Hambleton30-Sep-02 11:24 
GeneralRe: Form View Splitter Pin
DarrollWalsh30-Sep-02 21:27
DarrollWalsh30-Sep-02 21:27 
GeneralAnother map question Pin
ns30-Sep-02 9:19
ns30-Sep-02 9:19 
GeneralRe: Another map question Pin
Chad Koehler30-Sep-02 9:29
Chad Koehler30-Sep-02 9:29 
Generalgreat news!! Pin
ns30-Sep-02 9:49
ns30-Sep-02 9:49 
GeneralWhat about read? Pin
ns30-Sep-02 10:00
ns30-Sep-02 10:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.