Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat is the best Encryption library and where can I get it?? Pin
IrishSonic13-Apr-03 22:48
IrishSonic13-Apr-03 22:48 
AnswerRe: What is the best Encryption library and where can I get it?? Pin
Joaquín M López Muñoz13-Apr-03 22:51
Joaquín M López Muñoz13-Apr-03 22:51 
Generalcomponent creation in C++ Pin
pankajdaga13-Apr-03 22:47
pankajdaga13-Apr-03 22:47 
GeneralRe: component creation in C++ Pin
valikac14-Apr-03 7:50
valikac14-Apr-03 7:50 
GeneralRe: component creation in C++ Pin
pankajdaga14-Apr-03 22:16
pankajdaga14-Apr-03 22:16 
Generalscripting tools to generate C++ file from another C++ file. Pin
smalladi13-Apr-03 22:45
smalladi13-Apr-03 22:45 
Generalserveral radio buttons groups on the same dialog Pin
Broker200313-Apr-03 22:36
Broker200313-Apr-03 22:36 
GeneralRe: serveral radio buttons groups on the same dialog Pin
Iain Clarke, Warrior Programmer13-Apr-03 22:48
Iain Clarke, Warrior Programmer13-Apr-03 22:48 
In short, radio buttons are lumped together by their WS_GROUP style.

In the old days, you could do something like:

CheckRadioButton (hDlg, IDC_FIRSTONE, IDC_LASTONE, idCheckedOne);
CheckRadioButton (hDlg, IDC_FIRSTTWO, IDC_LASTTWO, idCheckedTwo);


But you would have to make sure you had non overlapping ids. It was also
a pain to find out which button was set in each group.

You can now use
DDX_Radio (pDX, IDC_FIRSTONE, nCheckOne);
DDX_Radio (pDX, IDC_FIRSTTWO, nCheckTwo);

in your CMyDlg::DoDataExchange method.

To associate buttons in a group together, first make sure every control in
your dialog has the group style bit checked. Then set the tab order (ctrl-d)
so that successive radio buttons have successive order. Last but not least
clear the group style bit for all radio buttons except the first in each
group.

Good luck,

Iain.
GeneralRe: serveral radio buttons groups on the same dialog Pin
Broker200313-Apr-03 22:56
Broker200313-Apr-03 22:56 
Questiona doubt ? Pin
Anonymous13-Apr-03 22:32
Anonymous13-Apr-03 22:32 
AnswerRe: a doubt ? Pin
Xander8013-Apr-03 22:41
Xander8013-Apr-03 22:41 
GeneralRe: a doubt ? Pin
Anonymous13-Apr-03 22:47
Anonymous13-Apr-03 22:47 
GeneralRe: a doubt ? Pin
Joaquín M López Muñoz13-Apr-03 22:54
Joaquín M López Muñoz13-Apr-03 22:54 
GeneralRe: a doubt ? Pin
Iain Clarke, Warrior Programmer13-Apr-03 22:55
Iain Clarke, Warrior Programmer13-Apr-03 22:55 
GeneralThanks [a doubt ?] Pin
Anonymous13-Apr-03 23:02
Anonymous13-Apr-03 23:02 
GeneralQuestion about raw socket and TCP. Pin
George213-Apr-03 22:10
George213-Apr-03 22:10 
GeneralCDialog - change title Pin
LittleYellowBird13-Apr-03 21:55
LittleYellowBird13-Apr-03 21:55 
GeneralRe: CDialog - change title Pin
Taka Muraoka13-Apr-03 22:09
Taka Muraoka13-Apr-03 22:09 
GeneralRe: CDialog - change title Pin
Cedric Moonen13-Apr-03 22:10
Cedric Moonen13-Apr-03 22:10 
GeneralRe: CDialog - change title Pin
peterchen13-Apr-03 22:12
peterchen13-Apr-03 22:12 
GeneralRe: CDialog - change title Pin
Rage13-Apr-03 22:12
professionalRage13-Apr-03 22:12 
GeneralRe: CDialog - change title Pin
LittleYellowBird13-Apr-03 22:22
LittleYellowBird13-Apr-03 22:22 
Generalprogramm crashes wenn retrieving a CString Pin
Willem B13-Apr-03 21:28
Willem B13-Apr-03 21:28 
GeneralRe: programm crashes wenn retrieving a CString Pin
Joaquín M López Muñoz13-Apr-03 23:03
Joaquín M López Muñoz13-Apr-03 23:03 
GeneralRe: programm crashes wenn retrieving a CString Pin
Willem B13-Apr-03 23:13
Willem B13-Apr-03 23:13 

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.