Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SHGetSpecialFolderLocation Pin
Michael Dunn22-May-01 8:17
sitebuilderMichael Dunn22-May-01 8:17 
GeneralHelp with WideCharToMultiByte Pin
Chris Meech22-May-01 6:25
Chris Meech22-May-01 6:25 
GeneralRe: Help with WideCharToMultiByte Pin
24-May-01 23:10
suss24-May-01 23:10 
GeneralDirect X Pin
Roger22-May-01 5:21
Roger22-May-01 5:21 
GeneralCHtmlView Pin
22-May-01 4:27
suss22-May-01 4:27 
GeneralRe: CHtmlView Pin
Tomasz Sowinski22-May-01 6:57
Tomasz Sowinski22-May-01 6:57 
GeneralRe: CHtmlView Pin
Carlos Antollini22-May-01 7:56
Carlos Antollini22-May-01 7:56 
GeneralRe: The other way is .... Pin
Masaaki Onishi22-May-01 15:46
Masaaki Onishi22-May-01 15:46 
Hello, the codegurus around the world.;)

In order to get the source code of html on CHtmlView, you can use GetHtmlDocument and IPersistFile.
Since we can get IDispatch from GetHtmlDocument, we use QueryInterface passing IPersistFile's IID.

After this, we can use Save function of IPersistFile to save the source code at the local drive and check it NotePad executed
by ShellExecute. Cool | :cool:

Have a nice day!
-Masaaki Onishi-
GeneralSTL & List Control Pin
Derek Price22-May-01 4:25
Derek Price22-May-01 4:25 
General500% perf improvement in Release build? Pin
Tomasz Sowinski22-May-01 4:39
Tomasz Sowinski22-May-01 4:39 
GeneralRe: 500% perf improvement in Release build? Pin
Derek Price22-May-01 4:57
Derek Price22-May-01 4:57 
GeneralRe: 500% perf improvement in Release build? Pin
Tomasz Sowinski22-May-01 6:26
Tomasz Sowinski22-May-01 6:26 
GeneralRe: STL & List Control Pin
Chris Losinger22-May-01 6:03
professionalChris Losinger22-May-01 6:03 
GeneralRe: STL & List Control Pin
Derek Price22-May-01 6:19
Derek Price22-May-01 6:19 
GeneralRe: STL & List Control Pin
Tomasz Sowinski22-May-01 6:36
Tomasz Sowinski22-May-01 6:36 
GeneralRe: STL & List Control Pin
Chris Losinger22-May-01 6:51
professionalChris Losinger22-May-01 6:51 
GeneralRe: STL & List Control Pin
Derek Price22-May-01 7:49
Derek Price22-May-01 7:49 
GeneralRe: STL & List Control Pin
Tomasz Sowinski22-May-01 10:58
Tomasz Sowinski22-May-01 10:58 
GeneralRe: STL & List Control Pin
Derek Price23-May-01 7:05
Derek Price23-May-01 7:05 
GeneralSTL & List Control Pin
Derek Price22-May-01 4:25
Derek Price22-May-01 4:25 
GeneralWorkspace setup Pin
Roger22-May-01 4:07
Roger22-May-01 4:07 
GeneralVSS and C++ automation Pin
22-May-01 2:42
suss22-May-01 2:42 
Generalclicking on a listbox created in runtime over an edit control in a formview Pin
22-May-01 2:23
suss22-May-01 2:23 
GeneralRe: clicking on a listbox created in runtime over an edit control in a formview Pin
l a u r e n22-May-01 23:40
l a u r e n22-May-01 23:40 
GeneralDirectory Selection using File Dialog Pin
22-May-01 2:13
suss22-May-01 2:13 

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.