Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Auto deletion on reboot Pin
Michael Dunn7-Feb-06 6:37
sitebuilderMichael Dunn7-Feb-06 6:37 
QuestionHow to Name my threads in the Task Manager? Pin
_B-A-P_3-Feb-06 2:46
_B-A-P_3-Feb-06 2:46 
AnswerRe: How to Name my threads in the Task Manager? Pin
Gary R. Wheeler4-Feb-06 9:14
Gary R. Wheeler4-Feb-06 9:14 
GeneralRe: How to Name my threads in the Task Manager? Pin
_B-A-P_5-Feb-06 20:16
_B-A-P_5-Feb-06 20:16 
QuestionSavin a bitmap, but Pin
Ivan Cachicatari3-Feb-06 2:39
Ivan Cachicatari3-Feb-06 2:39 
AnswerRe: Savin a bitmap, but Pin
Russell'3-Feb-06 2:43
Russell'3-Feb-06 2:43 
AnswerRe: Savin a bitmap, but Pin
benjymous3-Feb-06 4:30
benjymous3-Feb-06 4:30 
AnswerRe: Savin a bitmap, but Pin
normanS5-Feb-06 19:41
normanS5-Feb-06 19:41 
Windows understands normal (upside down) bitmaps as well as "right-way-up" bitmaps - check the MSDN documentation on bitmap headers. As far as I remember, "right-way-up" bitmaps have negative height, so in your posted code, try changing:
info.biHeight = height;

to
info.biHeight = -height;


I use this technique with a StretchDIBits call, and it works there.

Since you are not processing the bitmap data at all, whether this technique works will depend on the application you use to display the bitmap. A "well-behaved" application (conforming to MSDN bitmap standards) will display correctly. A "badly behaved" application will display the bitmap upside down or crash.

Some applications may accept it, some may not! But it's easy to try.
QuestionDLL with shared memory Pin
Shivaji Patil3-Feb-06 2:18
professionalShivaji Patil3-Feb-06 2:18 
AnswerRe: DLL with shared memory Pin
Kharfax3-Feb-06 3:15
Kharfax3-Feb-06 3:15 
GeneralRe: DLL with shared memory Pin
Shivaji Patil3-Feb-06 20:24
professionalShivaji Patil3-Feb-06 20:24 
GeneralRe: DLL with shared memory Pin
Kharfax6-Feb-06 2:38
Kharfax6-Feb-06 2:38 
GeneralRe: DLL with shared memory Pin
Shivaji Patil7-Feb-06 1:56
professionalShivaji Patil7-Feb-06 1:56 
GeneralRe: DLL with shared memory Pin
Shivaji Patil15-Feb-06 18:50
professionalShivaji Patil15-Feb-06 18:50 
QuestionSet Folder Attributes Pin
P Gibson3-Feb-06 1:43
P Gibson3-Feb-06 1:43 
AnswerRe: Set Folder Attributes Pin
bolivar1233-Feb-06 2:39
bolivar1233-Feb-06 2:39 
GeneralRe: Set Folder Attributes Pin
P Gibson3-Feb-06 4:13
P Gibson3-Feb-06 4:13 
GeneralRe: Set Folder Attributes Pin
Michael Dunn3-Feb-06 13:01
sitebuilderMichael Dunn3-Feb-06 13:01 
Questionhelp needed Pin
V.G3-Feb-06 1:06
V.G3-Feb-06 1:06 
AnswerRe: help needed Pin
Prakash Nadar3-Feb-06 2:47
Prakash Nadar3-Feb-06 2:47 
QuestionF1 should launch the help of my dialog app Pin
rampaul3-Feb-06 1:02
rampaul3-Feb-06 1:02 
AnswerRe: F1 should launch the help of my dialog app Pin
Aryan S3-Feb-06 1:20
Aryan S3-Feb-06 1:20 
General[OT] Pin
toxcct3-Feb-06 2:34
toxcct3-Feb-06 2:34 
GeneralRe: [OT] Pin
Prakash Nadar3-Feb-06 2:46
Prakash Nadar3-Feb-06 2:46 
Questionallocating disk space Pin
sundar_mca3-Feb-06 0:38
sundar_mca3-Feb-06 0:38 

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.