Make sure the member variable for the checkbox is a control variable, not value...then you can use SetCheck()
Ben805
Posts
-
Check buttons -
CPropertySheet CPropertyPage quirkCorrect. The call to AddPage() should work correct in the constructor. Should is the key word...that is the problem!
-
CPropertySheet CPropertyPage quirkSorry...actually I want to do AddPage(&m_page2) in the constructor of the sheet!
-
CPropertySheet CPropertyPage quirkConstructor: CMsgETIData::CMsgETIData() : CPropertyPage(CMsgETIData::IDD) { //{{AFX_DATA_INIT(CMsgETIData) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } How I _was_ adding pages: CMsgETIData m_page2; m_DQRMsgCreateSheet.AddPage(&m_page2); m_DQRMsgCreateSheet.DoModal(); m_DQRMsgCreateSheet.RemovePage(&m_page2); How I _want_ to add pages: in the sheet header: public: CMsgETIData m_page2; in the body: m_DQRMsgCreateSheet.AddPage(&m_page2); m_DQRMsgCreateSheet.DoModal();
-
Those crazy GermansI can't believe you doubt what hookers would do for money!