Click here to Skip to main content
16,010,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSMTP Commands (Read Receipts) Pin
Bret Faller1-Oct-01 9:03
Bret Faller1-Oct-01 9:03 
GeneralRe: SMTP Commands (Read Receipts) Pin
Mike Nordell1-Oct-01 9:49
Mike Nordell1-Oct-01 9:49 
GeneralRe: SMTP Commands (Read Receipts) Pin
Bret Faller2-Oct-01 13:11
Bret Faller2-Oct-01 13:11 
GeneralA question about thread programming Pin
Chaos Lawful1-Oct-01 8:17
Chaos Lawful1-Oct-01 8:17 
GeneralRe: A question about thread programming Pin
Joaquín M López Muñoz1-Oct-01 8:26
Joaquín M López Muñoz1-Oct-01 8:26 
GeneralBitmap question Pin
#realJSOP1-Oct-01 8:13
professional#realJSOP1-Oct-01 8:13 
GeneralRe: Bitmap question Pin
Mike Nordell1-Oct-01 9:52
Mike Nordell1-Oct-01 9:52 
GeneralRe: Bitmap question Pin
Paolo Messina1-Oct-01 12:33
professionalPaolo Messina1-Oct-01 12:33 
If you have the DIB bits as they are stored in a .bmp file, youu may have a look at this on MSDN (about BITMAPFILEHEADER): "A BITMAPINFO or BITMAPCOREINFO structure immediately follows the BITMAPFILEHEADER structure in the DIB file. "
Otherwise, you should have the palette stored somewhere, then use that instead.
I think the palette is fixed in size when it is stored in a file (16 or 256 RGBQUAD entries), but the last entries could be unused (usually zeroes) if biClrUsed < 2^biBitCount.

Paolo

------
"airplane is cool, but space shuttle is even better" (J. Kaczorowski)
Generalcreating COM objects in Visual C++ to work in vbscript Pin
David Higgins1-Oct-01 7:39
David Higgins1-Oct-01 7:39 
GeneralRe: creating COM objects in Visual C++ to work in vbscript Pin
Andres Manggini1-Oct-01 8:09
Andres Manggini1-Oct-01 8:09 
GeneralDebugging ISAPI Tools Pin
CHERCHALI KARIM1-Oct-01 7:03
CHERCHALI KARIM1-Oct-01 7:03 
GeneralSimple !?! How to wait for OK Pin
Josh Knox1-Oct-01 6:55
Josh Knox1-Oct-01 6:55 
GeneralRe: Simple !?! How to wait for OK Pin
Stan Shannon1-Oct-01 7:09
Stan Shannon1-Oct-01 7:09 
GeneralRe: Simple !?! How to wait for OK Pin
Josh Knox1-Oct-01 8:09
Josh Knox1-Oct-01 8:09 
GeneralRe: Simple !?! How to wait for OK Pin
Stan Shannon1-Oct-01 8:19
Stan Shannon1-Oct-01 8:19 
GeneralRe: Simple !?! How to wait for OK Pin
Tomasz Sowinski1-Oct-01 7:16
Tomasz Sowinski1-Oct-01 7:16 
GeneralRe: Simple !?! How to wait for OK Pin
Josh Knox1-Oct-01 8:18
Josh Knox1-Oct-01 8:18 
GeneralRe: Simple !?! How to wait for OK Pin
Eric Jacobsen9-Jan-02 10:27
Eric Jacobsen9-Jan-02 10:27 
GeneralWM_DRAWITEM & CFrameWnd Pin
AJ1231-Oct-01 6:25
AJ1231-Oct-01 6:25 
GeneralRe: WM_DRAWITEM & CFrameWnd Pin
Tomasz Sowinski1-Oct-01 7:24
Tomasz Sowinski1-Oct-01 7:24 
GeneralAdding Menus to Dialog Boxes Pin
1-Oct-01 6:21
suss1-Oct-01 6:21 
GeneralRe: Adding Menus to Dialog Boxes Pin
JerzyPeter1-Oct-01 6:46
JerzyPeter1-Oct-01 6:46 
GeneralFancy text in ListCtrl cell Pin
john john mackey1-Oct-01 6:11
john john mackey1-Oct-01 6:11 
GeneralRe: Fancy text in ListCtrl cell Pin
Tomasz Sowinski1-Oct-01 7:22
Tomasz Sowinski1-Oct-01 7:22 
GeneralWindow's message queue Pin
1-Oct-01 6:01
suss1-Oct-01 6:01 

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.