Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding button/control to an existing dialog Pin
Identity Undisclosed10-Feb-09 21:27
Identity Undisclosed10-Feb-09 21:27 
AnswerRe: Adding button/control to an existing dialog Pin
SandipG 10-Feb-09 20:57
SandipG 10-Feb-09 20:57 
GeneralRe: Adding button/control to an existing dialog Pin
Identity Undisclosed10-Feb-09 21:25
Identity Undisclosed10-Feb-09 21:25 
AnswerRe: Adding button/control to an existing dialog Pin
shark_1710-Feb-09 21:32
shark_1710-Feb-09 21:32 
AnswerRe: Adding button/control to an existing dialog Pin
Sarath C10-Feb-09 22:45
Sarath C10-Feb-09 22:45 
AnswerRe: Adding button/control to an existing dialog Pin
Stuart Dootson10-Feb-09 23:01
professionalStuart Dootson10-Feb-09 23:01 
QuestionReading data of a monochrome BMP file Pin
Member 211673610-Feb-09 20:08
Member 211673610-Feb-09 20:08 
AnswerRe: Reading data of a monochrome BMP file Pin
Code-o-mat10-Feb-09 21:49
Code-o-mat10-Feb-09 21:49 
I think a monochomre bitmap is stored as 1 bits per pixel, so 1 byte contains 8 pixels, where every 0 is BLACK and every 1 is WHITE (or whatever you schoose to be foreground and background colors). So if you read 205 -> 11001101 -> WHITE PIXEL, BLACK PIXEL, WHITE, WHITE, BLACK, BLACK, WHITE, WHITE. (don't forget, the leftmost bit is the most significant)

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: Reading data of a monochrome BMP file Pin
Member 211673610-Feb-09 22:26
Member 211673610-Feb-09 22:26 
GeneralRe: Reading data of a monochrome BMP file Pin
Code-o-mat10-Feb-09 23:00
Code-o-mat10-Feb-09 23:00 
GeneralRe: Reading data of a monochrome BMP file Pin
Member 211673611-Feb-09 4:33
Member 211673611-Feb-09 4:33 
AnswerRe: Reading data of a monochrome BMP file Pin
CPallini10-Feb-09 22:04
mveCPallini10-Feb-09 22:04 
GeneralRe: Reading data of a monochrome BMP file Pin
Member 211673610-Feb-09 22:23
Member 211673610-Feb-09 22:23 
GeneralRe: Reading data of a monochrome BMP file Pin
CPallini10-Feb-09 22:59
mveCPallini10-Feb-09 22:59 
GeneralRe: Reading data of a monochrome BMP file Pin
Member 211673611-Feb-09 4:35
Member 211673611-Feb-09 4:35 
GeneralRe: Reading data of a monochrome BMP file Pin
CPallini11-Feb-09 7:51
mveCPallini11-Feb-09 7:51 
GeneralRe: Reading data of a monochrome BMP file Pin
Member 211673611-Feb-09 14:57
Member 211673611-Feb-09 14:57 
GeneralRe: Reading data of a monochrome BMP file Pin
CPallini11-Feb-09 22:06
mveCPallini11-Feb-09 22:06 
GeneralRe: Reading data of a monochrome BMP file Pin
Member 211673611-Feb-09 22:13
Member 211673611-Feb-09 22:13 
QuestionUsing CDialog::OnOK() Pin
Babu@codeproject10-Feb-09 18:51
Babu@codeproject10-Feb-09 18:51 
AnswerRe: Using CDialog::OnOK() Pin
Eytukan10-Feb-09 19:10
Eytukan10-Feb-09 19:10 
AnswerRe: Using CDialog::OnOK() Pin
SandipG 10-Feb-09 19:42
SandipG 10-Feb-09 19:42 
Question[Message Deleted] Pin
Purish Dwivedi10-Feb-09 17:39
Purish Dwivedi10-Feb-09 17:39 
AnswerRe: Sample multilingual application with full steps using vc++ in visual studio 2005 Pin
Sarath C10-Feb-09 18:51
Sarath C10-Feb-09 18:51 
AnswerREPOST Pin
_AnsHUMAN_ 10-Feb-09 19:32
_AnsHUMAN_ 10-Feb-09 19:32 

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.