Michael Williams
April 22nd, 1999, 12:30 PM
Hi,
How does one set a Dialog Check Box?
Michael B. Williams
How does one set a Dialog Check Box?
Michael B. Williams
|
Click to See Complete Forum and Search --> : How does one set a Dialog Check Box Michael Williams April 22nd, 1999, 12:30 PM Hi, How does one set a Dialog Check Box? Michael B. Williams Dan O'Brien April 22nd, 1999, 12:51 PM CButton::SetCheck Michael Williams April 22nd, 1999, 01:00 PM It's not that simple; if it was I would not have posted. I was hoping for an example Harvey Hawes April 22nd, 1999, 01:13 PM In your dlg .cpp: CButton* pCheck = (CButton*)GetDlgItem(IDC_MYCHECKID); if(pCheck) pCheck->SetCheck(1); // 1 to check, 0 to uncheck, 2 to set to indeterminate state Or use class wiz to bind a CButton member to the check box and call its SetCheck method. HTH, Harvey Harvey Hawes Software Engineer BioScience Analysis Software Ltd. Masters Candidate Cardiovascular/Respiratory Sciences Faculty of Medicine University of Calgary Calgary, Alberta, Canada codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |