Click here to Skip to main content
15,915,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SDI application Help.. Pin
Renjith Ramachandran8-Apr-04 4:57
Renjith Ramachandran8-Apr-04 4:57 
GeneralProblem in messages scheduling using timers Pin
nandha8-Apr-04 2:08
nandha8-Apr-04 2:08 
GeneralRe: Problem in messages scheduling using timers Pin
toxcct8-Apr-04 2:14
toxcct8-Apr-04 2:14 
GeneralRe: Problem in messages scheduling using timers Pin
David Crow8-Apr-04 2:16
David Crow8-Apr-04 2:16 
GeneralRe: Problem in messages scheduling using timers Pin
Prakash Nadar8-Apr-04 6:36
Prakash Nadar8-Apr-04 6:36 
GeneralFor SSL tunneling wt is Connect command syntax for connecting to HTTP Proxy server Pin
Anonymous8-Apr-04 1:31
Anonymous8-Apr-04 1:31 
GeneralRe: For SSL tunneling wt is Connect command syntax for connecting to HTTP Proxy server Pin
valikac8-Apr-04 9:02
valikac8-Apr-04 9:02 
QuestionHow to save CDC content to a Bitmap file Pin
JHAKAS8-Apr-04 1:14
JHAKAS8-Apr-04 1:14 
Hello

I am working on a MFC SDI application.

On My one of the menu i am drawing something with the CDC which is Memory dc and is drawing in a bitmap.

Above mentioned CDC MemDC is global.

Now on Save
I am having two Options
save content of CDC to JPEG and
save as BMP.

Well I am using implementation fo ImageHandler (from Codeguru) so it works fine. With JPEG saving. It does uses the CDC for putting into JPEG image.

Now with BMP saving, previously i was using CDibSectionLite (from Codeguru) using the above Bitmap. I want to use CDC instead because of change in the design.

Is there any other way to save content of DC directly to the Bitmap file

Thanks in advance.

Sandeep



Leave your mark wherever you go
GeneralDesktop Context Menu Pin
/P/8-Apr-04 1:09
suss/P/8-Apr-04 1:09 
GeneralRe: Desktop Context Menu Pin
avenger_sb258-Apr-04 12:25
avenger_sb258-Apr-04 12:25 
GeneralRe: Desktop Context Menu Pin
8-Apr-04 15:26
suss8-Apr-04 15:26 
GeneralInprocess object handler for Ms-Office Pin
anshumanshinde8-Apr-04 0:55
anshumanshinde8-Apr-04 0:55 
GeneralFatal error C1010 Pin
roadragedave8-Apr-04 0:52
roadragedave8-Apr-04 0:52 
GeneralRe: Fatal error C1010 Pin
toxcct8-Apr-04 1:08
toxcct8-Apr-04 1:08 
GeneralRe: Fatal error C1010 Pin
Diddy8-Apr-04 1:35
Diddy8-Apr-04 1:35 
GeneralRe: Fatal error C1010 Pin
Mike Beckerleg8-Apr-04 1:40
Mike Beckerleg8-Apr-04 1:40 
GeneralRe: Fatal error C1010 Pin
Michael Dunn8-Apr-04 4:31
sitebuilderMichael Dunn8-Apr-04 4:31 
QuestionWhy is it bad to use a macro function? Pin
-Dy8-Apr-04 0:14
-Dy8-Apr-04 0:14 
AnswerRe: Why is it bad to use a macro function? Pin
toxcct8-Apr-04 0:25
toxcct8-Apr-04 0:25 
GeneralRe: Why is it bad to use a macro function? Pin
Ravi Bhavnani8-Apr-04 3:52
professionalRavi Bhavnani8-Apr-04 3:52 
GeneralRe: Why is it bad to use a macro function? Pin
toxcct8-Apr-04 4:09
toxcct8-Apr-04 4:09 
AnswerRe: Why is it bad to use a macro function? Pin
Maximilien8-Apr-04 0:47
Maximilien8-Apr-04 0:47 
AnswerRe: Why is it bad to use a macro function? Pin
Antony M Kancidrowski8-Apr-04 2:07
Antony M Kancidrowski8-Apr-04 2:07 
GeneralRe: Why is it bad to use a macro function? Pin
toxcct8-Apr-04 2:08
toxcct8-Apr-04 2:08 
AnswerRe: Why is it bad to use a macro function? Pin
Tim Smith8-Apr-04 4:17
Tim Smith8-Apr-04 4:17 

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.