Click here to Skip to main content
15,889,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: ?: operator Pin
Gary R. Wheeler18-Sep-05 3:05
Gary R. Wheeler18-Sep-05 3:05 
GeneralRe: ?: operator Pin
Maxwell Chen18-Sep-05 17:04
Maxwell Chen18-Sep-05 17:04 
GeneralRe: ?: operator Pin
ThatsAlok18-Sep-05 18:47
ThatsAlok18-Sep-05 18:47 
GeneralRe: ?: operator Pin
Maxwell Chen18-Sep-05 19:22
Maxwell Chen18-Sep-05 19:22 
GeneralRe: ?: operator Pin
ThatsAlok18-Sep-05 21:48
ThatsAlok18-Sep-05 21:48 
GeneralRe: ?: operator Pin
toxcct18-Sep-05 20:47
toxcct18-Sep-05 20:47 
GeneralRe: ?: operator Pin
Blake Miller19-Sep-05 10:47
Blake Miller19-Sep-05 10:47 
QuestionProblem with menu Shortcut keys in my VC++ dialog based Application. Pin
G Haranadh17-Sep-05 19:08
G Haranadh17-Sep-05 19:08 
AnswerRe: Problem with menu Shortcut keys in my VC++ dialog based Application. Pin
benjnp17-Sep-05 19:17
benjnp17-Sep-05 19:17 
AnswerRe: Problem with menu Shortcut keys in my VC++ dialog based Application. Pin
G Haranadh17-Sep-05 19:20
G Haranadh17-Sep-05 19:20 
AnswerRe: Problem with menu Shortcut keys in my VC++ dialog based Application. Pin
Jose Lamas Rios17-Sep-05 19:38
Jose Lamas Rios17-Sep-05 19:38 
AnswerRe: Problem with menu Shortcut keys in my VC++ dialog based Application. Pin
G Haranadh17-Sep-05 19:46
G Haranadh17-Sep-05 19:46 
GeneralRe: Problem with menu Shortcut keys in my VC++ dialog based Application. Pin
Jose Lamas Rios17-Sep-05 20:18
Jose Lamas Rios17-Sep-05 20:18 
QuestionCString question Pin
benjnp17-Sep-05 18:48
benjnp17-Sep-05 18:48 

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.