|
-
April 22nd, 1999, 12:30 PM
#1
How does one set a Dialog Check Box
Hi,
How does one set a Dialog Check Box?
Michael B. Williams
-
April 22nd, 1999, 12:51 PM
#2
Re: How does one set a Dialog Check Box
-
April 22nd, 1999, 01:00 PM
#3
Re: How does one set a Dialog Check Box
It's not that simple; if it was I would not have posted. I was hoping for an example
-
April 22nd, 1999, 01:13 PM
#4
Re: How does one set a Dialog Check Box
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|