Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: read the color Pin
Christian Graus6-Nov-01 10:07
protectorChristian Graus6-Nov-01 10:07 
GeneralReboot windows 95 machines Pin
RobJones6-Nov-01 8:54
RobJones6-Nov-01 8:54 
GeneralRe: Reboot windows 95 machines Pin
Nish Nishant6-Nov-01 9:01
sitebuilderNish Nishant6-Nov-01 9:01 
GeneralRe: Reboot windows 95 machines Pin
RobJones6-Nov-01 9:06
RobJones6-Nov-01 9:06 
GeneralImage Acquisition Pin
Chambers6-Nov-01 7:15
Chambers6-Nov-01 7:15 
GeneralRe: Image Acquisition Pin
Chris Losinger6-Nov-01 7:21
professionalChris Losinger6-Nov-01 7:21 
GeneralRe: Image Acquisition Pin
#realJSOP6-Nov-01 7:46
professional#realJSOP6-Nov-01 7:46 
GeneralRe: Image Acquisition Pin
Chambers7-Nov-01 2:25
Chambers7-Nov-01 2:25 
I have been creating my DIBSections using CreateDIBSection, as you will know this returns a HBITMAP, and any other pieces of info I may want ("the bits" etc.). However, I have got one step closer to finding a solution to this problem and I feel that your on the right lines Chris. I have now assertained a full BITMAPINFO structure (valid from the scanned image), and I even have a pointer to "the bits". However, my program relies on the HBITMAP structure that I need to create, if I use CreateDIBSection, the pointer I supply to the function is overridden and comes back with just black pixel values. Is there any way I can create the HBITMAP using the BITMAPINFO structure I have got and the pointer to "the bits"? I believe this is this problem is now solveable, but how?

Cheers Chris,
Alan.Smile | :)
GeneralRe: Image Acquisition Pin
Chris Losinger7-Nov-01 2:49
professionalChris Losinger7-Nov-01 2:49 
GeneralRe: Image Acquisition Pin
Chambers7-Nov-01 5:00
Chambers7-Nov-01 5:00 
GeneralImage Color Management (ICM) Pin
6-Nov-01 7:03
suss6-Nov-01 7:03 
GeneralLog deletes in BoundsChecker Pin
peterchen6-Nov-01 7:00
peterchen6-Nov-01 7:00 
Generalsys/socket.h Pin
6-Nov-01 5:42
suss6-Nov-01 5:42 
GeneralRe: sys/socket.h Pin
Tim Smith6-Nov-01 6:22
Tim Smith6-Nov-01 6:22 
GeneralRe: sys/socket.h Pin
Anders Molin6-Nov-01 7:11
professionalAnders Molin6-Nov-01 7:11 
GeneralMessage from external app should: Open document and goto line # Pin
Steve Schaneville6-Nov-01 4:48
professionalSteve Schaneville6-Nov-01 4:48 
GeneralRe: Message from external app should: Open document and goto line # Pin
6-Nov-01 6:32
suss6-Nov-01 6:32 
GeneralRe: Message from external app should: Open document and goto line # Pin
Steve Schaneville6-Nov-01 6:56
professionalSteve Schaneville6-Nov-01 6:56 
GeneralRe: Message from external app should: Open document and goto line # Pin
Ben Burnett6-Nov-01 7:12
Ben Burnett6-Nov-01 7:12 
GeneralRepeat the song... (VFW.lib) Pin
Rickard Andersson206-Nov-01 4:31
Rickard Andersson206-Nov-01 4:31 
GeneralRe: Repeat the song... (VFW.lib) Pin
Rassman6-Nov-01 4:52
Rassman6-Nov-01 4:52 
GeneralRe: Repeat the song... (VFW.lib) Pin
Ben Burnett6-Nov-01 9:53
Ben Burnett6-Nov-01 9:53 
GeneralFlex Grid ! Pin
Hadi Rezaee6-Nov-01 4:21
Hadi Rezaee6-Nov-01 4:21 
GeneralRe: Flex Grid ! Pin
Rassman6-Nov-01 5:03
Rassman6-Nov-01 5:03 
GeneralRe: Flex Grid ! Pin
Hadi Rezaee6-Nov-01 6:34
Hadi Rezaee6-Nov-01 6:34 

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.