Click here to Skip to main content
15,908,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using tlhelp32.h functions in MFC app Pin
ADent4229-Nov-05 17:55
ADent4229-Nov-05 17:55 
QuestionCombobox with DataSource with static value Pin
GoodQuestion29-Nov-05 12:29
GoodQuestion29-Nov-05 12:29 
QuestionProblem implementing radio buttons in VS.NET 2003 Pin
ralawrence29-Nov-05 10:34
ralawrence29-Nov-05 10:34 
AnswerRe: Problem implementing radio buttons in VS.NET 2003 Pin
David Crow29-Nov-05 10:48
David Crow29-Nov-05 10:48 
GeneralRe: Problem implementing radio buttons in VS.NET 2003 Pin
ralawrence29-Nov-05 11:02
ralawrence29-Nov-05 11:02 
GeneralRe: Problem implementing radio buttons in VS.NET 2003 Pin
Shog929-Nov-05 11:27
sitebuilderShog929-Nov-05 11:27 
GeneralRe: Problem implementing radio buttons in VS.NET 2003 Pin
ralawrence29-Nov-05 11:40
ralawrence29-Nov-05 11:40 
GeneralRe: Problem implementing radio buttons in VS.NET 2003 Pin
Shog929-Nov-05 12:17
sitebuilderShog929-Nov-05 12:17 
Assuming you set up the tab order and grouping as in your first post, they should work just fine. The method you use to retrieve the state of the radio buttons shouldn't affect how they behave.

You can retrieve the state of the radio buttons in several different ways:
  1. Using a control variable for each, call the GetCheck() method in turn to determine which one is checked.
  2. Using an associated value variable for each, examine each (after calling UpdateData(TRUE)) to determine which has the BST_CHECKED state (is checked).
  3. Call GetCheckedRadioButton(), passing in the IDs of the first and last radio buttons, and recieve the ID of the selected radio button (0 if none are selected).


Notice that there's no DDX_ function for retrieving the ID of the selected radio button, only the checked state of a given radio button.


GeneralRe: Problem implementing radio buttons in VS.NET 2003 Pin
David Crow30-Nov-05 2:19
David Crow30-Nov-05 2:19 
GeneralRe: Problem implementing radio buttons in VS.NET 2003 Pin
ralawrence30-Nov-05 7:09
ralawrence30-Nov-05 7:09 
Questionsplitter thickness Pin
Alex_Y29-Nov-05 9:55
Alex_Y29-Nov-05 9:55 
AnswerRe: splitter thickness Pin
Shog929-Nov-05 11:30
sitebuilderShog929-Nov-05 11:30 
GeneralRe: splitter thickness Pin
Alex_Y29-Nov-05 15:02
Alex_Y29-Nov-05 15:02 
QuestionMultimedia Timers - recommendations Pin
ddmcr29-Nov-05 9:00
ddmcr29-Nov-05 9:00 
AnswerRe: Multimedia Timers - recommendations Pin
David Crow29-Nov-05 9:19
David Crow29-Nov-05 9:19 
GeneralRe: Multimedia Timers - recommendations Pin
ddmcr29-Nov-05 9:28
ddmcr29-Nov-05 9:28 
AnswerRe: Multimedia Timers - recommendations Pin
Alex_Y29-Nov-05 10:40
Alex_Y29-Nov-05 10:40 
QuestionADO Recordset Open method error Pin
flyflyfly29-Nov-05 8:14
flyflyfly29-Nov-05 8:14 
QuestionGDI & Clipping Regions Pin
GDI_novice29-Nov-05 7:50
GDI_novice29-Nov-05 7:50 
QuestionCross-compiling in VC++ Pin
Raphael Amorim29-Nov-05 7:01
professionalRaphael Amorim29-Nov-05 7:01 
QuestionDialog from a dialog problem Pin
Jader8929-Nov-05 6:38
Jader8929-Nov-05 6:38 
AnswerRe: Dialog from a dialog problem Pin
toxcct29-Nov-05 6:46
toxcct29-Nov-05 6:46 
GeneralRe: Dialog from a dialog problem Pin
Maximilien29-Nov-05 7:09
Maximilien29-Nov-05 7:09 
GeneralRe: Dialog from a dialog problem Pin
Jader8929-Nov-05 7:27
Jader8929-Nov-05 7:27 
GeneralRe: Dialog from a dialog problem Pin
ddmcr29-Nov-05 9:02
ddmcr29-Nov-05 9:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.