Click here to Skip to main content
15,904,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to return the original page protection flags Pin
Richard MacCutchan24-Sep-09 1:04
mveRichard MacCutchan24-Sep-09 1:04 
QuestionHELP!! Pin
Froztbyte66623-Sep-09 21:37
Froztbyte66623-Sep-09 21:37 
AnswerRe: HELP!! Pin
CPallini23-Sep-09 21:45
mveCPallini23-Sep-09 21:45 
AnswerRe: HELP!! Pin
Cedric Moonen23-Sep-09 21:46
Cedric Moonen23-Sep-09 21:46 
AnswerRe: HELP!! Pin
Michael Schubert23-Sep-09 22:17
Michael Schubert23-Sep-09 22:17 
GeneralRe: HELP!! Pin
CPallini23-Sep-09 22:24
mveCPallini23-Sep-09 22:24 
AnswerRe: HELP!! Pin
Richard MacCutchan24-Sep-09 1:06
mveRichard MacCutchan24-Sep-09 1:06 
QuestionCreating Sheet Music C++ Pin
EmirD23-Sep-09 21:30
EmirD23-Sep-09 21:30 
GeneralRe: Creating Sheet Music C++ Pin
CPallini23-Sep-09 21:44
mveCPallini23-Sep-09 21:44 
GeneralRe: Creating Sheet Music C++ Pin
EmirD26-Sep-09 10:13
EmirD26-Sep-09 10:13 
AnswerRe: Creating Sheet Music C++ Pin
Madhu Nair23-Sep-09 22:53
Madhu Nair23-Sep-09 22:53 
GeneralRe: Creating Sheet Music C++ Pin
EmirD26-Sep-09 10:16
EmirD26-Sep-09 10:16 
GeneralRe: Creating Sheet Music C++ Pin
Gopalakrishna Palem16-Nov-09 18:48
Gopalakrishna Palem16-Nov-09 18:48 
Questiondraw a rectangle in dialog based visual C++ 6.0 [solved] Pin
Eka Candra23-Sep-09 21:02
Eka Candra23-Sep-09 21:02 
AnswerRe: draw a rectangle in dialog based visual C++ 6.0 Pin
«_Superman_»23-Sep-09 21:22
professional«_Superman_»23-Sep-09 21:22 
You have created the brush but you haven't selected it into the device context.
So before doing any drawing you must select the brush into the device context using dc.SelectObject(&brush);
You must do the same with any GDI object like CPen, CBrush, CFont, CBitmap etc.

«_Superman
I love work. It gives me something to do between weekends.

QuestionRe: draw a rectangle in dialog based visual C++ 6.0 Pin
CPallini23-Sep-09 21:27
mveCPallini23-Sep-09 21:27 
AnswerRe: draw a rectangle in dialog based visual C++ 6.0 Pin
«_Superman_»23-Sep-09 21:30
professional«_Superman_»23-Sep-09 21:30 
JokeRe: draw a rectangle in dialog based visual C++ 6.0 Pin
CPallini23-Sep-09 21:36
mveCPallini23-Sep-09 21:36 
GeneralRe: draw a rectangle in dialog based visual C++ 6.0 Pin
«_Superman_»23-Sep-09 22:38
professional«_Superman_»23-Sep-09 22:38 
GeneralRe: draw a rectangle in dialog based visual C++ 6.0 Pin
Eka Candra23-Sep-09 22:17
Eka Candra23-Sep-09 22:17 
QuestionRe: draw a rectangle in dialog based visual C++ 6.0 Pin
CPallini23-Sep-09 22:26
mveCPallini23-Sep-09 22:26 
AnswerRe: draw a rectangle in dialog based visual C++ 6.0 Pin
Eka Candra23-Sep-09 22:49
Eka Candra23-Sep-09 22:49 
AnswerRe: draw a rectangle in dialog based visual C++ 6.0 Pin
CPallini23-Sep-09 21:24
mveCPallini23-Sep-09 21:24 
GeneralRe: draw a rectangle in dialog based visual C++ 6.0 Pin
Eka Candra23-Sep-09 22:38
Eka Candra23-Sep-09 22:38 
GeneralRe: draw a rectangle in dialog based visual C++ 6.0 Pin
KarstenK23-Sep-09 22:51
mveKarstenK23-Sep-09 22:51 

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.