setting checks on checkbox , setcheck not working
how do i set a check on checkbox?
i used
but the button refuses to get checkedCode:m_checknow.SetCheck(BST_CHECKED);
m_checknow is a CButton class with a checkbox as its dialog
thanks in advance
This is a discussion on setting checks on checkbox , setcheck not working within the Windows Programming forums, part of the Platform Specific Boards category; setting checks on checkbox , setcheck not working how do i set a check on checkbox? i used Code: m_checknow.SetCheck(BST_CHECKED); ...
setting checks on checkbox , setcheck not working
how do i set a check on checkbox?
i used
but the button refuses to get checkedCode:m_checknow.SetCheck(BST_CHECKED);
m_checknow is a CButton class with a checkbox as its dialog
thanks in advance
Looks like Windows programming to me, so I am moving this thread there. Correct me if I am wrong.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
thanks all for your help
here is the solution
((CButton*)GetDlgItem(IDC_ACTIVATE))->SetCheck(TRUE);