Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog menu Pin
benjnp19-Sep-05 10:20
benjnp19-Sep-05 10:20 
GeneralRe: Dialog menu Pin
prasad_som19-Sep-05 21:13
prasad_som19-Sep-05 21:13 
Questiontime in msec Pin
Themis18-Sep-05 2:03
Themis18-Sep-05 2:03 
AnswerRe: time in msec Pin
Gary R. Wheeler18-Sep-05 2:23
Gary R. Wheeler18-Sep-05 2:23 
AnswerRe: time in msec Pin
Alexander M.,18-Sep-05 3:39
Alexander M.,18-Sep-05 3:39 
AnswerRe: time in msec Pin
Ghasrfakhri18-Sep-05 6:24
Ghasrfakhri18-Sep-05 6:24 
GeneralRe: time in msec Pin
Themis18-Sep-05 11:37
Themis18-Sep-05 11:37 
QuestionQuestion Pin
Anonymous18-Sep-05 1:21
Anonymous18-Sep-05 1:21 
QuestionDynamamic type conversion problem. Please Help??? Pin
LiquidE_SA18-Sep-05 1:15
LiquidE_SA18-Sep-05 1:15 
QuestionWhy I shoun't call CView::OnPaint() for painting messages Pin
assay18-Sep-05 0:54
assay18-Sep-05 0:54 
AnswerRe: Why I shoun't call CView::OnPaint() for painting messages Pin
Themis18-Sep-05 2:06
Themis18-Sep-05 2:06 
GeneralRe: Why I shoun't call CView::OnPaint() for painting messages Pin
assay18-Sep-05 2:26
assay18-Sep-05 2:26 
GeneralRe: Why I shoun't call CView::OnPaint() for painting messages Pin
Themis18-Sep-05 11:36
Themis18-Sep-05 11:36 
GeneralRe: Why I shoun't call CView::OnPaint() for painting messages Pin
assay18-Sep-05 19:36
assay18-Sep-05 19:36 
QuestionHow to handle Circular Indexes Pin
cialz17-Sep-05 23:03
cialz17-Sep-05 23:03 
AnswerRe: How to handle Circular Indexes Pin
karmendra_js18-Sep-05 2:45
karmendra_js18-Sep-05 2:45 
AnswerRe: How to handle Circular Indexes Pin
James Brown18-Sep-05 5:25
James Brown18-Sep-05 5:25 
QuestionMy application collapse Pin
Anonymous17-Sep-05 22:43
Anonymous17-Sep-05 22:43 
AnswerRe: My application collapse Pin
Johann Gerell17-Sep-05 23:28
Johann Gerell17-Sep-05 23:28 
Question?: operator Pin
greghop17-Sep-05 20:48
greghop17-Sep-05 20:48 
AnswerRe: ?: operator Pin
Johann Gerell17-Sep-05 21:45
Johann Gerell17-Sep-05 21:45 
GeneralRe: ?: operator Pin
Tim Smith18-Sep-05 5:37
Tim Smith18-Sep-05 5:37 
I just want to add, it can also be a very buggy thing to do. Even a C++ 'bool' can have more values than just true and false.

But aside from that, if you are working with Windows API, comparing to TRUE is the wrong thing to do since the API are defined as being 0 and != 0 which means that they might return 5219 for TRUE.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
AnswerRe: ?: operator Pin
Bob Stanneveld18-Sep-05 1:57
Bob Stanneveld18-Sep-05 1:57 
GeneralRe: ?: operator Pin
Johann Gerell18-Sep-05 6:14
Johann Gerell18-Sep-05 6:14 
GeneralRe: ?: operator Pin
Bob Stanneveld18-Sep-05 7:25
Bob Stanneveld18-Sep-05 7:25 

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.