Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WaitForSingleObject() Problem Pin
Robert Bielik28-Nov-04 22:00
Robert Bielik28-Nov-04 22:00 
GeneralRe: WaitForSingleObject() Problem Pin
lisoft29-Nov-04 13:54
lisoft29-Nov-04 13:54 
GeneralRe: WaitForSingleObject() Problem Pin
Robert Bielik29-Nov-04 19:29
Robert Bielik29-Nov-04 19:29 
GeneralRe: WaitForSingleObject() Problem Pin
Aamir Butt28-Nov-04 20:16
Aamir Butt28-Nov-04 20:16 
GeneralSave as a bmp file Pin
Guoguor28-Nov-04 18:24
Guoguor28-Nov-04 18:24 
GeneralRe: Save as a bmp file Pin
John R. Shaw29-Nov-04 4:42
John R. Shaw29-Nov-04 4:42 
GeneralDWebBrowserEvent2 Pin
tkarven28-Nov-04 16:02
tkarven28-Nov-04 16:02 
GeneralWindows BMP RGB Format Pin
Rob Walter28-Nov-04 15:53
Rob Walter28-Nov-04 15:53 
Hi All,

I am fairly new to C++ (but don't hold that against me) and I am trying to manually load a 32-bit bitmap into memory from a file. By manually I mean reading each structure (BITMAPFILEHEADER, BITMAPINFOHEADER, etc.) and bitmap bits using ReadFile. I am pretty confused about how the bitmap bits are stored... are they stored BGR or RGB? and where is the alpha bit stored? If after reading the bits into memory and have an UCHAR* to the bits, how do I extract the blue, green, red and alpha color intensities?

Thanks.

Robert
GeneralCreating MFC Custom Control at run time Pin
bohrium28-Nov-04 15:35
bohrium28-Nov-04 15:35 
GeneralAsigning Icons to programs Pin
Flame Gitsnik28-Nov-04 14:04
Flame Gitsnik28-Nov-04 14:04 
GeneralRe: Asigning Icons to programs Pin
Nick Nougat29-Nov-04 5:25
Nick Nougat29-Nov-04 5:25 
GeneralCatching all exceptions Pin
Anonymous28-Nov-04 13:44
Anonymous28-Nov-04 13:44 
GeneralRe: Catching all exceptions Pin
Yulianto.28-Nov-04 21:32
Yulianto.28-Nov-04 21:32 
GeneralRe: Catching all exceptions Pin
Anonymous29-Nov-04 8:48
Anonymous29-Nov-04 8:48 
GeneralRe: Catching all exceptions Pin
22491728-Nov-04 22:48
22491728-Nov-04 22:48 
QuestionLarge Calendar Control? Pin
bitpusher28-Nov-04 12:34
bitpusher28-Nov-04 12:34 
GeneralThousands Sepearator Pin
BRIMID28-Nov-04 10:07
BRIMID28-Nov-04 10:07 
GeneralRe: Thousands Sepearator Pin
PJ Arends28-Nov-04 13:28
professionalPJ Arends28-Nov-04 13:28 
QuestionHELP!!! String manipulation ""Calculating Atomic no of elements"" ???? Pin
VikramDelhi28-Nov-04 9:36
VikramDelhi28-Nov-04 9:36 
AnswerRe: HELP!!! String manipulation ""Calculating Atomic no of elements"" ???? Pin
ThatsAlok28-Nov-04 20:21
ThatsAlok28-Nov-04 20:21 
GeneralRe: HELP!!! String manipulation ""Calculating Atomic no of elements"" ???? Pin
Alex Korchemniy28-Nov-04 20:30
Alex Korchemniy28-Nov-04 20:30 
GeneralRe: HELP!!! String manipulation ""Calculating Atomic no of elements"" ???? Pin
ThatsAlok28-Nov-04 20:31
ThatsAlok28-Nov-04 20:31 
General1 Document, 3 Concurrent Views Pin
bitpusher28-Nov-04 7:38
bitpusher28-Nov-04 7:38 
GeneralRe: 1 Document, 3 Concurrent Views Pin
PJ Arends28-Nov-04 8:40
professionalPJ Arends28-Nov-04 8:40 
GeneralRe: 1 Document, 3 Concurrent Views Pin
bitpusher28-Nov-04 15:20
bitpusher28-Nov-04 15:20 

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.