Click here to Skip to main content
15,889,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhich way should I select when save image from browser Pin
shi baoshi2-Aug-09 22:02
shi baoshi2-Aug-09 22:02 
AnswerRe: Which way should I select when save image from browser Pin
Code-o-mat3-Aug-09 0:29
Code-o-mat3-Aug-09 0:29 
GeneralRe: Which way should I select when save image from browser [modified] Pin
shi baoshi3-Aug-09 16:15
shi baoshi3-Aug-09 16:15 
GeneralRe: Which way should I select when save image from browser Pin
Code-o-mat3-Aug-09 21:06
Code-o-mat3-Aug-09 21:06 
GeneralRe: Which way should I select when save image from browser Pin
shi baoshi3-Aug-09 21:45
shi baoshi3-Aug-09 21:45 
GeneralRe: Which way should I select when save image from browser Pin
Code-o-mat3-Aug-09 22:43
Code-o-mat3-Aug-09 22:43 
GeneralRe: Which way should I select when save image from browser Pin
shi baoshi3-Aug-09 23:09
shi baoshi3-Aug-09 23:09 
GeneralRe: Which way should I select when save image from browser [modified] Pin
Code-o-mat3-Aug-09 23:16
Code-o-mat3-Aug-09 23:16 
I doubt it but to tell you the truth i still don't quite understand how you mean that the image size changes... do you mean that for example you drag a 800x600 image on your application and it saves a smaller, let's say 400x300 pixels image? Are you sure that in the drag operation you get the original image as a DIB and not some scaled-down preview? Also, if you have a site with small images as links to their big versions, then dragging the image will surely contain the original, small image's URL, not the bigger version's.

[EDIT] You mean the filesize, don't you? The file you save is smaller than the file in your browser's cache, right? Well, did you try opening the BMPs you saved? Does for example Paint open them OK? If you simply take the CF_DIB data and just write it to a file that shouldn't actually produce a valid Bitmap since Bitmaps have to begin with a BITMAPFILEHEADER[^] structure and CF_DIB does not contain that. Could this be what you mean?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

modified on Tuesday, August 4, 2009 5:22 AM

GeneralRe: Which way should I select when save image from browser Pin
shi baoshi4-Aug-09 4:47
shi baoshi4-Aug-09 4:47 
GeneralRe: Which way should I select when save image from browser Pin
Code-o-mat4-Aug-09 6:14
Code-o-mat4-Aug-09 6:14 
GeneralRe: Which way should I select when save image from browser Pin
shi baoshi4-Aug-09 16:04
shi baoshi4-Aug-09 16:04 
QuestionUDP connection -&gt; outgoing port trouble (still) Pin
Souldrift2-Aug-09 21:39
Souldrift2-Aug-09 21:39 
AnswerRe: UDP connection -&gt; outgoing port trouble (still) Pin
pallaka2-Aug-09 22:15
pallaka2-Aug-09 22:15 
GeneralRe: UDP connection -&gt; outgoing port trouble (still) Pin
Souldrift2-Aug-09 22:22
Souldrift2-Aug-09 22:22 
GeneralRe: UDP connection -&gt; outgoing port trouble (still) Pin
harold aptroot3-Aug-09 0:04
harold aptroot3-Aug-09 0:04 
GeneralRe: UDP connection -&gt; outgoing port trouble (still) Pin
Souldrift3-Aug-09 2:04
Souldrift3-Aug-09 2:04 
QuestionWriting data to Database from Pure C++ Pin
Pardhu_M2-Aug-09 21:25
Pardhu_M2-Aug-09 21:25 
AnswerRe: Writing data to Database from Pure C++ Pin
N a v a n e e t h2-Aug-09 21:56
N a v a n e e t h2-Aug-09 21:56 
AnswerRe: Writing data to Database from Pure C++ Pin
CPallini2-Aug-09 22:03
mveCPallini2-Aug-09 22:03 
AnswerRe: Writing data to Database from Pure C++ Pin
kilt3-Aug-09 3:31
kilt3-Aug-09 3:31 
AnswerRe: Writing data to Database from Pure C++ Pin
Nemanja Trifunovic3-Aug-09 4:20
Nemanja Trifunovic3-Aug-09 4:20 
QuestionTabbing stop when focus go to Cancel button in MFC Screen Pin
MohammedAyaz Shaikh2-Aug-09 21:07
MohammedAyaz Shaikh2-Aug-09 21:07 
QuestionRe: Tabbing stop when focus go to Cancel button in MFC Screen Pin
David Crow3-Aug-09 3:58
David Crow3-Aug-09 3:58 
Questionhow to fetch excel data Pin
trioum2-Aug-09 21:00
trioum2-Aug-09 21:00 
AnswerRe: how to fetch excel data Pin
CPallini2-Aug-09 21:19
mveCPallini2-Aug-09 21:19 

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.