Click here to Skip to main content
16,018,353 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do we add vertical scroll bar for dialog based application? Pin
Hamid Taebi20-Feb-07 17:33
professionalHamid Taebi20-Feb-07 17:33 
QuestionDetect color Using C++ Pin
ricardo montemayor20-Feb-07 14:21
ricardo montemayor20-Feb-07 14:21 
AnswerRe: Detect color Using C++ Pin
Hamid Taebi20-Feb-07 17:35
professionalHamid Taebi20-Feb-07 17:35 
GeneralRe: Detect color Using C++ Pin
prasad_som20-Feb-07 18:08
prasad_som20-Feb-07 18:08 
AnswerRe: Detect color Using C++ Pin
Stephen Hewitt20-Feb-07 19:24
Stephen Hewitt20-Feb-07 19:24 
AnswerRe: Detect color Using C++ Pin
Mark Salsbery21-Feb-07 8:50
Mark Salsbery21-Feb-07 8:50 
GeneralRe: Detect color Using C++ Pin
ricardo montemayor21-Feb-07 13:26
ricardo montemayor21-Feb-07 13:26 
GeneralRe: Detect color Using C++ Pin
Mark Salsbery21-Feb-07 14:48
Mark Salsbery21-Feb-07 14:48 
Same answer as my first reply.

Basically you need to
1) load the bitmap file into memory
2) get a pointer to the pixel bits
3) scan the pixel bits for the attributes you are looking for

All three of these steps vary depending on file type and image bits format.

Have you tried anything so far?

Mark


"Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot?
Of course you don't, no one does. It never happens. It's a dumb question... skip it."

GeneralRe: Detect color Using C++ Pin
ricardo montemayor21-Feb-07 16:17
ricardo montemayor21-Feb-07 16:17 
GeneralRe: Detect color Using C++ Pin
Mark Salsbery21-Feb-07 16:43
Mark Salsbery21-Feb-07 16:43 
QuestionIntercepting Output from another application Pin
shatterstar645720-Feb-07 13:19
shatterstar645720-Feb-07 13:19 
AnswerRe: Intercepting Output from another application Pin
Stephen Hewitt20-Feb-07 13:27
Stephen Hewitt20-Feb-07 13:27 
AnswerRe: Intercepting Output from another application Pin
ThatsAlok21-Feb-07 6:10
ThatsAlok21-Feb-07 6:10 
QuestionUniversal Progress Dialog Pin
BuckBrown20-Feb-07 12:38
BuckBrown20-Feb-07 12:38 
AnswerRe: Universal Progress Dialog Pin
Stephen Hewitt20-Feb-07 12:41
Stephen Hewitt20-Feb-07 12:41 
GeneralRe: Universal Progress Dialog Pin
BuckBrown20-Feb-07 13:07
BuckBrown20-Feb-07 13:07 
GeneralRe: Universal Progress Dialog Pin
Stephen Hewitt20-Feb-07 13:09
Stephen Hewitt20-Feb-07 13:09 
GeneralRe: Universal Progress Dialog Pin
BuckBrown20-Feb-07 13:46
BuckBrown20-Feb-07 13:46 
GeneralRe: Universal Progress Dialog Pin
Stephen Hewitt20-Feb-07 13:53
Stephen Hewitt20-Feb-07 13:53 
GeneralRe: Universal Progress Dialog Pin
BuckBrown21-Feb-07 5:35
BuckBrown21-Feb-07 5:35 
GeneralRe: Universal Progress Dialog Pin
Stephen Hewitt21-Feb-07 11:56
Stephen Hewitt21-Feb-07 11:56 
QuestionMultiple list boxes in main window Pin
Demosthenes Tecumseh20-Feb-07 10:55
Demosthenes Tecumseh20-Feb-07 10:55 
AnswerRe: Multiple list boxes in main window Pin
PJ Arends20-Feb-07 11:46
professionalPJ Arends20-Feb-07 11:46 
GeneralRe: Multiple list boxes in main window Pin
Demosthenes Tecumseh20-Feb-07 12:10
Demosthenes Tecumseh20-Feb-07 12:10 
JokeRe: Multiple list boxes in main window Pin
Mark Salsbery20-Feb-07 12:41
Mark Salsbery20-Feb-07 12:41 

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.