DDX_Control(pDX, IDC_displaydepthline, m_Check_Box);
void CCleanViewDlg::OnBnClickeddisplaydepthline { UpdateData(); int l_ChkBox = (int)m_Check_Box; UpdateData(FALSE); }
int l_ChkBox = m_Check_Box.GetCheck();
m_CheckBox
m_Check_Box
CButton
m_btnCheck
DoDataExchange
DDX_Control(pDC, IDC_displaydepthline, m_btnCheck);
void CCleanViewDlg::OnBnClickeddisplaydepthline() { BOOL bChecked = (m_btnCheck.GetCheck() == BST_CHECKED); }
int
m_iCheck
DDX_Check(pDC, IDC_displaydepthline, m_iCheck);
void CCleanViewDlg::OnBnClickeddisplaydepthline() { UpdateData(); BOOL bChecked = (m_iCheck == BST_CHECKED); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)