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

C / C++ / MFC

 
AnswerRe: AfxEndThread Pin
David Crow8-Sep-05 3:24
David Crow8-Sep-05 3:24 
Questiontemplates question Pin
zildjohn017-Sep-05 12:09
zildjohn017-Sep-05 12:09 
AnswerRe: templates question Pin
zildjohn017-Sep-05 15:34
zildjohn017-Sep-05 15:34 
QuestionIOCP & COM ports Pin
Member 18770927-Sep-05 11:32
Member 18770927-Sep-05 11:32 
QuestionCan I apply VC++6 code into VC++.NET code? Pin
uumeme7-Sep-05 9:50
uumeme7-Sep-05 9:50 
AnswerRe: Can I apply VC++6 code into VC++.NET code? Pin
Christian Graus7-Sep-05 13:15
protectorChristian Graus7-Sep-05 13:15 
QuestionAdding color to my dialog Pin
bugDanny7-Sep-05 9:02
bugDanny7-Sep-05 9:02 
AnswerRe: Adding color to my dialog Pin
Chris Losinger7-Sep-05 10:00
professionalChris Losinger7-Sep-05 10:00 
QuestionCalling All CListCtrl Experts Pin
Spoodles7-Sep-05 8:54
Spoodles7-Sep-05 8:54 
AnswerRe: Calling All CListCtrl Experts Pin
Mircea Puiu7-Sep-05 20:41
Mircea Puiu7-Sep-05 20:41 
GeneralRe: Calling All CListCtrl Experts Pin
Spoodles8-Sep-05 3:11
Spoodles8-Sep-05 3:11 
GeneralRe: Calling All CListCtrl Experts Pin
Mircea Puiu8-Sep-05 4:02
Mircea Puiu8-Sep-05 4:02 
QuestionUpdating CheckBoxes Pin
DanYELL7-Sep-05 5:08
DanYELL7-Sep-05 5:08 
AnswerRe: Updating CheckBoxes Pin
Mircea Puiu7-Sep-05 5:18
Mircea Puiu7-Sep-05 5:18 
GeneralRe: Updating CheckBoxes Pin
DanYELL7-Sep-05 5:57
DanYELL7-Sep-05 5:57 
GeneralRe: Updating CheckBoxes Pin
bugDanny7-Sep-05 9:18
bugDanny7-Sep-05 9:18 
GeneralRe: Updating CheckBoxes Pin
Mircea Puiu7-Sep-05 20:09
Mircea Puiu7-Sep-05 20:09 
AnswerRe: Updating CheckBoxes Pin
toxcct7-Sep-05 5:42
toxcct7-Sep-05 5:42 
if only one check box is to be checked, use radio buttons instead.

however, you don't test if the checkbox is effectively checked or not - because the event handler is called wether you check or uncheck it.

void CPage1::OnCheck20() {
    UpdateData()
    if (m_check20 == TRUE) {
        // Uncheck all the other boxes only if we check this one...
        m_check21 = FALSE;
        UpdateData(FALSE);
    }
}
 
void CPage1::OnCheck21() {
    UpdateData()
    if (m_check21 == TRUE) {
        // Uncheck all the other boxes only if we check this one...
        m_check20 = FALSE;
        UpdateData(FALSE);
    }
}



TOXCCT >>> GEII power
[toxcct][VisualCalc]
AnswerRe: Updating CheckBoxes Pin
David Crow7-Sep-05 6:25
David Crow7-Sep-05 6:25 
AnswerRe: Updating CheckBoxes Pin
Jack Puppy7-Sep-05 15:37
Jack Puppy7-Sep-05 15:37 
QuestionDll and XP theme Pin
hari_rs7-Sep-05 4:02
hari_rs7-Sep-05 4:02 
AnswerRe: Dll and XP theme Pin
Mircea Puiu7-Sep-05 5:11
Mircea Puiu7-Sep-05 5:11 
GeneralRe: Dll and XP theme Pin
pranavamhari7-Sep-05 5:39
pranavamhari7-Sep-05 5:39 
AnswerRe: Dll and XP theme Pin
ThatsAlok7-Sep-05 18:43
ThatsAlok7-Sep-05 18:43 
QuestionHow to get the time taken by application Pin
Anonymous7-Sep-05 4:01
Anonymous7-Sep-05 4:01 

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.