Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Inheritance? Pin
GDavy23-May-05 3:19
GDavy23-May-05 3:19 
GeneralRe: Inheritance? Pin
Bob Stanneveld23-May-05 3:50
Bob Stanneveld23-May-05 3:50 
AnswerRe: Inheritance? Pin
Ryan Binns23-May-05 3:58
Ryan Binns23-May-05 3:58 
GeneralRe: Inheritance? Pin
Bob Stanneveld23-May-05 6:04
Bob Stanneveld23-May-05 6:04 
AnswerRe: Inheritance? Pin
S. Senthil Kumar23-May-05 5:25
S. Senthil Kumar23-May-05 5:25 
GeneralRe: Inheritance? Pin
Bob Stanneveld23-May-05 20:14
Bob Stanneveld23-May-05 20:14 
GeneralRadio Button Pin
alvarillo23-May-05 2:31
alvarillo23-May-05 2:31 
GeneralRe: Radio Button Pin
David Crow23-May-05 4:39
David Crow23-May-05 4:39 
alvarillo wrote:
I want to make a selection between Low Frecuency "LF_1" and High Frecuency "HF_1" with a radio button...

The easiest way to deal with radio buttons is to assign each of them a CButton member variable. You can use ClassWizard to do this but only if each of the controls on the dialog's template has the WS_GROUP style. Once you've assigned all of the controls to a CButton member variable, remove the WS_GROUP style from all but the first control. See here for more.

Now it is simply a matter of calling the button's GetCheck() and SetCheck() methods. Using UpdateData() in this context is problematic.


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRemoving Items From A Listbox Pin
[d3m0n]23-May-05 2:26
[d3m0n]23-May-05 2:26 
GeneralRe: Removing Items From A Listbox Pin
Tom Archer23-May-05 2:31
Tom Archer23-May-05 2:31 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 2:54
[d3m0n]23-May-05 2:54 
GeneralRe: Removing Items From A Listbox Pin
Tom Archer23-May-05 2:58
Tom Archer23-May-05 2:58 
GeneralRe: Removing Items From A Listbox Pin
ThatsAlok23-May-05 3:03
ThatsAlok23-May-05 3:03 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 3:08
[d3m0n]23-May-05 3:08 
GeneralRe: Removing Items From A Listbox Pin
lynchspawn23-May-05 4:11
lynchspawn23-May-05 4:11 
GeneralRe: Removing Items From A Listbox Pin
Jack Puppy23-May-05 4:06
Jack Puppy23-May-05 4:06 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 4:23
[d3m0n]23-May-05 4:23 
GeneralRe: Removing Items From A Listbox Pin
David Crow23-May-05 4:43
David Crow23-May-05 4:43 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 4:46
[d3m0n]23-May-05 4:46 
GeneralRe: Removing Items From A Listbox Pin
David Crow23-May-05 5:03
David Crow23-May-05 5:03 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 5:07
[d3m0n]23-May-05 5:07 
GeneralRe: Removing Items From A Listbox Pin
David Crow23-May-05 5:27
David Crow23-May-05 5:27 
GeneralReceiving SMS on PocketPC Pin
anevemkz23-May-05 2:21
anevemkz23-May-05 2:21 
Generalsockets vs file-dropoff Pin
Tom Archer23-May-05 1:38
Tom Archer23-May-05 1:38 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:00
ThatsAlok23-May-05 2:00 

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.