|
-
April 21st, 1999, 06:54 PM
#5
Re: I need help with checkbox
First, Check out CButton::GetCheck() to determine the state of the checkbox and CButton::SetCheck() to set the state. You will need to get the CWnd of the checkbox control for this to work. This can be done by calling (CButton *)GetDlgItem(Id), where Id is the identifier that you gave the control when you created the checkbox.
Second, you need to setup handlers for each checkbox control. You would do this through class wizard.
Regards,
Paul McKenzie
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
|