Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting int to CString Pin
Joaquín M López Muñoz14-Dec-01 4:59
Joaquín M López Muñoz14-Dec-01 4:59 
GeneralRe: Converting int to CString Pin
Cam14-Dec-01 5:09
Cam14-Dec-01 5:09 
GeneralRe: Converting int to CString Pin
Alvaro Mendez14-Dec-01 5:16
Alvaro Mendez14-Dec-01 5:16 
GeneralRe: Converting int to CString Pin
Cam14-Dec-01 5:48
Cam14-Dec-01 5:48 
QuestionHow to Change the 'Caption' of a CPropertyPage Pin
14-Dec-01 3:39
suss14-Dec-01 3:39 
AnswerRe: How to Change the 'Caption' of a CPropertyPage Pin
Joaquín M López Muñoz14-Dec-01 4:23
Joaquín M López Muñoz14-Dec-01 4:23 
GeneralCreating Excel files Pin
14-Dec-01 2:21
suss14-Dec-01 2:21 
QuestionHow do I create a "Virtual" Device Context? Pin
Jon Hulatt14-Dec-01 2:04
Jon Hulatt14-Dec-01 2:04 
Hi,

I'm trying to write a bitmap conversion program that reads the bits of a bitmap file and writes them to another file in my custom format.

Because the user's bitmap might not be the required size, i want to scale it to cater for this eventuality.

The CDC::StretchBlt function is good for this, I've used it before. But how can I use this function, when i have no device contect to work with? I am not displaying the bitmap to the screen at any point.

How can i create memory device contexts from nowhere, that are suitable for my bitmap manipulation needs?

Thanks

Jon

Sorry to dissapoint you all with my lack of a witty or poignant signature.
AnswerRe: How do I create a "Virtual" Device Context? Pin
Joaquín M López Muñoz14-Dec-01 2:11
Joaquín M López Muñoz14-Dec-01 2:11 
GeneralRe: How do I create a "Virtual" Device Context? Pin
Jon Hulatt14-Dec-01 3:18
Jon Hulatt14-Dec-01 3:18 
GeneralRe: How do I create a "Virtual" Device Context? Pin
Jon Hulatt14-Dec-01 3:31
Jon Hulatt14-Dec-01 3:31 
GeneralAccessing .MDB files Pin
Cris14-Dec-01 2:02
Cris14-Dec-01 2:02 
GeneralOpening a new IE window Pin
Rob Caldecott14-Dec-01 0:25
Rob Caldecott14-Dec-01 0:25 
GeneralRe: Opening a new IE window Pin
Philip Patrick14-Dec-01 14:21
professionalPhilip Patrick14-Dec-01 14:21 
GeneralActiveX For Connecting Database Pin
San13-Dec-01 23:50
San13-Dec-01 23:50 
QuestionWho have a example of setting a picture as background in CRichEditView? Pin
white jungle13-Dec-01 23:03
white jungle13-Dec-01 23:03 
GeneralDummy dialog! Pin
Rickard Andersson2013-Dec-01 22:03
Rickard Andersson2013-Dec-01 22:03 
GeneralRe: Dummy dialog! Pin
Eugene Pustovoyt13-Dec-01 23:35
Eugene Pustovoyt13-Dec-01 23:35 
GeneralRe: Dummy dialog! Pin
Nish Nishant13-Dec-01 23:47
sitebuilderNish Nishant13-Dec-01 23:47 
GeneralDLL questions Pin
13-Dec-01 19:51
suss13-Dec-01 19:51 
GeneralRe: DLL questions Pin
Nish Nishant13-Dec-01 20:10
sitebuilderNish Nishant13-Dec-01 20:10 
GeneralRe: DLL questions Pin
Joaquín M López Muñoz13-Dec-01 23:57
Joaquín M López Muñoz13-Dec-01 23:57 
GeneralRe: DLL questions Pin
Nemanja Trifunovic14-Dec-01 5:03
Nemanja Trifunovic14-Dec-01 5:03 
GeneralRe: DLL questions Pin
Joaquín M López Muñoz14-Dec-01 6:12
Joaquín M López Muñoz14-Dec-01 6:12 
GeneralRe: DLL questions Pin
Nemanja Trifunovic14-Dec-01 6:37
Nemanja Trifunovic14-Dec-01 6:37 

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.