Click here to Skip to main content
13,505,586 members
Rate this:
Please Sign up or sign in to vote.
See more:
Which property is needed to set for radio button in single selection?
Posted 28-Jan-13 0:46am
Maximilien 28-Jan-13 15:48pm
Huh ? what do you mean by "single selection" ?
by definition, a radio button does not work alone, it must be used with at least one other radio button ( to be able to select one and only one option in a group.
Do you want to use the "round" radio button style as a simple checkbox instead of the "square" shape ?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You indicated that this is MFC.

You want to use a CButton (or derived class) and the method to set it to 'on' state is CButton::SetCheck(). To test the current state, use CButton::GetCheck().

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180417.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100