{
//TODO: Add your the control notification handler code here
(CButton *) GetDlgItem (IDC_OppositeVector) - & gt; SetCheck (FALSE);
}
MFC in the learning process to set up a selection button, why will prompt the error C2039: 'SetCheck' : is not a member of 'CWnd'
CodePudding user response:
Try to add parenthesis:GetDlgItem (CButton
(*) (IDC_OppositeVector)) - & gt; SetCheck (FALSE);
CodePudding user response:
Check the MSDN, looking for his own answerCodePudding user response:
Moderator solution or if you define a button object button button. Setchek (0);CodePudding user response: