Well, I was trying to add a CheckBox to one of my programs. The following Message Handler was added.
Code:
void CCheck2Dlg::OnBnClickedCheck1()
{
// TODO: Add your control notification handler code here
m_text += "Check Box 1 Clicked";
if (m_Check2 == true)
m_text = m_text + "Check Box 2 Clicked";
if (m_Check3 == true)
m_text = m_text + "Check Box 3 Clicked";
UpdateData (false);
}
Now, although Clicking on the CheckBoxes does what it is supposed to do, I donot see the CHECKS !!!
Why is this happening, and what do I do to restore normalcy.