Take this sample code:
void CChristianLifeMinistryDiscussionsDlg::SetControlStates() { if (m_pEntry == nullptr) return; bool bClass1 = false,