checkboxes with MFC applications

If a user is making choices with checkboxes, how can you show the choices they made in a listbox? Or should you use something else to display their choices? I can't find out how to do coding for checkboxes. Any suggestions?
Thanks
[239 byte] By [alonge] at [2007-11-19 19:48:12]
# 1 Re: checkboxes with MFC applications
You set a member variable for the checkboxes and you will need to "ask" if they are checket

m_yourButton.GetCheck();
g_gili at 2007-11-10 23:42:45 >
# 2 Re: checkboxes with MFC applications
If a user is making choices with checkboxes, how can you show the choices they made in a listbox? Or should you use something else to display their choices? I can't find out how to do coding for checkboxes. Any suggestions?
ThanksIf I have the scenario correctly, you want your user to be able to click on a couple of checkboxes and then view the selections in a listbox? Is that correct? If so, consider using a checked list box or a list view. That way, you can combine the checking and viewing operations in one. Rather than having the user check some checkboxes (and view the check in a separate listbox control), the user can simply check the items in the checked list box or list view control.
Arjay at 2007-11-10 23:43:50 >