Click here to Skip to main content
16,011,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debugging Mutexes? Pin
Tim Smith6-Jan-03 8:39
Tim Smith6-Jan-03 8:39 
GeneralRe: Debugging Mutexes? Pin
clintsinger6-Jan-03 8:47
clintsinger6-Jan-03 8:47 
GeneralRe: Debugging Mutexes? Pin
Tim Smith6-Jan-03 10:16
Tim Smith6-Jan-03 10:16 
GeneralRe: Debugging Mutexes? Pin
clintsinger9-Jan-03 7:42
clintsinger9-Jan-03 7:42 
GeneralLocalization issue Pin
Nish Nishant6-Jan-03 7:30
sitebuilderNish Nishant6-Jan-03 7:30 
GeneralRe: Localization issue Pin
Maximilien6-Jan-03 7:34
Maximilien6-Jan-03 7:34 
GeneralRe: Localization issue Pin
Nish Nishant6-Jan-03 7:47
sitebuilderNish Nishant6-Jan-03 7:47 
GeneralRe: Localization issue Pin
nde_plume6-Jan-03 8:32
nde_plume6-Jan-03 8:32 
The IE Save As box does not save the page with images, it just saves the source HTML.

To save with images is quite an involved process, but basically what you have to do is this:

1. Open the page in your Web Browser control
2. Get the IHTMLDocument2 handle (using GetHtmlDocument)
3. Get a list of images from the IHTMLDocument2 (get_images)
4. iterate through each image:
a. Download the image to a file.
b. iterate through each IMG tag on the page, and if the
image is referenced in the HREF tag, modify the HREF
tag to point to your newly save file. (This comparison
is non trivial, because you have to connonicize both
filenames first.)
5. When you have rewritten the images, get the HTML text
from the IHTMLDocument2 and save it.



GeneralRe: Localization issue Pin
Nish Nishant6-Jan-03 8:44
sitebuilderNish Nishant6-Jan-03 8:44 
GeneralOutlook, peer connectivity Pin
georgebrennan6-Jan-03 7:29
georgebrennan6-Jan-03 7:29 
GeneralControl Dialogs From Main Document! Pin
Alex H 19836-Jan-03 7:24
Alex H 19836-Jan-03 7:24 
GeneralRe: Control Dialogs From Main Document! Pin
Anonymous6-Jan-03 10:24
Anonymous6-Jan-03 10:24 
QuestionHow can I print a tilted triangle, looks like |> squished together? Pin
DanYELL6-Jan-03 7:17
DanYELL6-Jan-03 7:17 
AnswerRe: How can I print a tilted triangle, looks like |> squished together? Pin
Chris Losinger6-Jan-03 11:01
professionalChris Losinger6-Jan-03 11:01 
GeneralRe: How can I print a tilted triangle, looks like |> squished together? Pin
DanYELL7-Jan-03 7:15
DanYELL7-Jan-03 7:15 
Generalthreads, ui Pin
Member 56966976-Jan-03 7:11
Member 56966976-Jan-03 7:11 
GeneralRe: threads, ui Pin
Tim Smith6-Jan-03 7:43
Tim Smith6-Jan-03 7:43 
GeneralRe: threads, ui Pin
Alvaro Mendez6-Jan-03 11:28
Alvaro Mendez6-Jan-03 11:28 
GeneralWM_TIMER problem Pin
Mazdak6-Jan-03 6:56
Mazdak6-Jan-03 6:56 
GeneralRe: WM_TIMER problem Pin
jmkhael6-Jan-03 7:01
jmkhael6-Jan-03 7:01 
GeneralRe: WM_TIMER problem Pin
Mazdak6-Jan-03 7:49
Mazdak6-Jan-03 7:49 
GeneralRe: WM_TIMER problem Pin
Mazdak6-Jan-03 8:26
Mazdak6-Jan-03 8:26 
GeneralDisplaying Text. Pin
73Zeppelin6-Jan-03 6:08
73Zeppelin6-Jan-03 6:08 
GeneralRe: Displaying Text. Pin
Alvaro Mendez6-Jan-03 6:15
Alvaro Mendez6-Jan-03 6:15 
GeneralRe: Displaying Text. Pin
Gary Kirkham6-Jan-03 7:03
Gary Kirkham6-Jan-03 7:03 

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.