Click here to Skip to main content
15,921,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++ 1.52 error Pin
Ted Ferenc25-Jan-07 6:26
Ted Ferenc25-Jan-07 6:26 
GeneralRe: Visual C++ 1.52 error Pin
jnhemley25-Jan-07 8:33
jnhemley25-Jan-07 8:33 
AnswerRe: Visual C++ 1.52 error Pin
Mike O'Neill26-Jan-07 10:42
Mike O'Neill26-Jan-07 10:42 
QuestionIterating over Dialog? Pin
bosfan25-Jan-07 5:38
bosfan25-Jan-07 5:38 
AnswerRe: Iterating over Dialog? Pin
Ravi Bhavnani25-Jan-07 5:41
professionalRavi Bhavnani25-Jan-07 5:41 
GeneralRe: Iterating over Dialog? Pin
bosfan25-Jan-07 5:48
bosfan25-Jan-07 5:48 
AnswerRe: Iterating over Dialog? Pin
Roger Stoltz25-Jan-07 6:05
Roger Stoltz25-Jan-07 6:05 
AnswerRe: Iterating over Dialog? Pin
#realJSOP25-Jan-07 8:26
professional#realJSOP25-Jan-07 8:26 
Try setting all of the resource IDs for the checkboxes to be sequential, and then making a loop that iterates through all the ID's.

Write a function that contains the loop and accepts a bool that indicates whether or not you're checking or un-checking the boxes. Using EnumChildWindows will also work, but if the dialog contains more than just checkboxes, you'll be wasting processing time.

There's no reason to over-engineer something like this.



"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


QuestionUgh! Resource problems and 'Clean-up' tools Pin
Like2Byte25-Jan-07 3:25
Like2Byte25-Jan-07 3:25 
AnswerRe: Ugh! Resource problems and 'Clean-up' tools Pin
Maximilien25-Jan-07 4:17
Maximilien25-Jan-07 4:17 
GeneralRe: Ugh! Resource problems and 'Clean-up' tools Pin
Like2Byte25-Jan-07 4:18
Like2Byte25-Jan-07 4:18 
QuestionReturning an error from service stop Pin
sharon_cds25-Jan-07 2:29
sharon_cds25-Jan-07 2:29 
AnswerRe: Returning an error from service stop Pin
Mark Salsbery25-Jan-07 5:56
Mark Salsbery25-Jan-07 5:56 
QuestionProblem! Pin
baby_fong8225-Jan-07 2:20
baby_fong8225-Jan-07 2:20 
AnswerRe: Problem! Pin
Mark Salsbery25-Jan-07 5:58
Mark Salsbery25-Jan-07 5:58 
Questionhow to Build a reguler Dll( unicode competable) in vc++ Pin
singh_nav25-Jan-07 2:15
singh_nav25-Jan-07 2:15 
QuestionRe: how to Build a reguler Dll( unicode competable) in vc++ Pin
prasad_som25-Jan-07 2:57
prasad_som25-Jan-07 2:57 
AnswerRe: how to Build a reguler Dll( unicode competable) in vc++ Pin
singh_nav29-Jan-07 0:31
singh_nav29-Jan-07 0:31 
QuestionDrawing with dll Pin
mk7925-Jan-07 0:56
mk7925-Jan-07 0:56 
QuestionRe: Drawing with dll Pin
prasad_som25-Jan-07 0:59
prasad_som25-Jan-07 0:59 
AnswerRe: Drawing with dll Pin
CPallini25-Jan-07 1:37
mveCPallini25-Jan-07 1:37 
AnswerRe: Drawing with dll Pin
Hamid_RT25-Jan-07 21:00
Hamid_RT25-Jan-07 21:00 
QuestionTo find difference dates Pin
johnalek25-Jan-07 0:50
johnalek25-Jan-07 0:50 
QuestionRe: To find difference dates Pin
prasad_som25-Jan-07 0:57
prasad_som25-Jan-07 0:57 
AnswerRe: To find difference dates Pin
johnalek25-Jan-07 1:20
johnalek25-Jan-07 1:20 

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.