Click here to Skip to main content
16,014,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: dwFileDateMS and dwFileDateLS Pin
David Crow29-May-07 4:11
David Crow29-May-07 4:11 
AnswerRe: dwFileDateMS and dwFileDateLS Pin
vladguan29-May-07 5:07
vladguan29-May-07 5:07 
QuestionCImage Woes Pin
VonHagNDaz29-May-07 3:27
VonHagNDaz29-May-07 3:27 
QuestionRe: CImage Woes Pin
Mark Salsbery29-May-07 4:32
Mark Salsbery29-May-07 4:32 
AnswerRe: CImage Woes Pin
VonHagNDaz29-May-07 4:38
VonHagNDaz29-May-07 4:38 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 4:48
Mark Salsbery29-May-07 4:48 
GeneralRe: CImage Woes Pin
VonHagNDaz29-May-07 4:53
VonHagNDaz29-May-07 4:53 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 5:04
Mark Salsbery29-May-07 5:04 
You're passing something.

First, make sure CImage::Load() is returning S_OK, not E_FAIL.

I'm not positive it's whitespace - I don't have the ASCII table memorized. What are the byte
values? You only showed a few - are you sure the first few pixels in the top or bottom (depending
on the orientation of the DIBSection) row aren't white or some other color?

Step into CImage::Load() in the debugger and you can see exactly how it's using GDI+ to load the
image and creating the bits pointer with CreateDIBSection().



"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: CImage Woes Pin
VonHagNDaz29-May-07 5:47
VonHagNDaz29-May-07 5:47 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 6:58
Mark Salsbery29-May-07 6:58 
GeneralRe: CImage Woes Pin
VonHagNDaz29-May-07 7:38
VonHagNDaz29-May-07 7:38 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 7:52
Mark Salsbery29-May-07 7:52 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 8:41
Mark Salsbery29-May-07 8:41 
GeneralRe: CImage Woes Pin
VonHagNDaz29-May-07 9:37
VonHagNDaz29-May-07 9:37 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 9:50
Mark Salsbery29-May-07 9:50 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 9:58
Mark Salsbery29-May-07 9:58 
GeneralRe: CImage Woes Pin
VonHagNDaz29-May-07 10:16
VonHagNDaz29-May-07 10:16 
GeneralRe: CImage Woes Pin
Mark Salsbery29-May-07 10:29
Mark Salsbery29-May-07 10:29 
GeneralRe: CImage Woes [modified] Pin
Mark Salsbery29-May-07 8:45
Mark Salsbery29-May-07 8:45 
QuestionCannot write in EditBox Pin
garfield18529-May-07 3:18
garfield18529-May-07 3:18 
AnswerRe: Cannot write in EditBox Pin
garfield18529-May-07 3:51
garfield18529-May-07 3:51 
QuestionRe: Cannot write in EditBox Pin
David Crow29-May-07 3:54
David Crow29-May-07 3:54 
AnswerRe: Cannot write in EditBox Pin
garfield18529-May-07 4:01
garfield18529-May-07 4:01 
QuestionHow to replace menu item with Image Pin
NiceNaidu29-May-07 3:01
NiceNaidu29-May-07 3:01 
QuestionRe: How to replace menu item with Image Pin
Hamid_RT29-May-07 5:53
Hamid_RT29-May-07 5:53 

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.