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

C / C++ / MFC

 
QuestionWix installer Pin
Abhi Lahare27-Nov-07 21:53
Abhi Lahare27-Nov-07 21:53 
AnswerRe: Wix installer Pin
ThatsAlok27-Nov-07 22:45
ThatsAlok27-Nov-07 22:45 
JokeRe: Wix installer Pin
Nelek27-Nov-07 23:16
protectorNelek27-Nov-07 23:16 
GeneralRe: Wix installer Pin
ThatsAlok27-Nov-07 23:27
ThatsAlok27-Nov-07 23:27 
QuestionChanging the User account of a Service dynamically Pin
nlharshini27-Nov-07 21:38
nlharshini27-Nov-07 21:38 
QuestionInstall postgreSQL from MFC application? [modified] Pin
$uresh $hanmugam27-Nov-07 21:11
$uresh $hanmugam27-Nov-07 21:11 
QuestionRadio Buttons and Group Boxes Pin
XChibi27-Nov-07 21:10
XChibi27-Nov-07 21:10 
AnswerRe: Radio Buttons and Group Boxes Pin
Nelek27-Nov-07 22:16
protectorNelek27-Nov-07 22:16 
This seems to be C#, in VC++ I would make it like...

supposing you have member variables for every element...
If (m_rbChoiceA.GetSelect ())
{  //Showing the A group...
   m_rbChoiceA_1.ShowWindow (TRUE);   //or ShowWindow (SW_SHOW)
   //the rest of the options
;
   //Hidding the B Group...
   m_rbChoiceB_1.ShowWindow (FALSE);
   //...
}


and the opossite when B is selected.

I hope it helps you a bit, sorry but I didn't use C# yet.

BTW, I think is better to enable/disable than show/hide, I had a endless loop in OnPaint bcause of ShowWindow because it sends a "redraw" message internally.

Greetings.

--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

AnswerRe: Radio Buttons and Group Boxes Pin
Marimuthu.r27-Nov-07 22:39
Marimuthu.r27-Nov-07 22:39 
Questionchar** Pin
nitin327-Nov-07 21:05
nitin327-Nov-07 21:05 
AnswerRe: char** Pin
CPallini27-Nov-07 21:25
mveCPallini27-Nov-07 21:25 
GeneralRe: char** Pin
nitin327-Nov-07 22:30
nitin327-Nov-07 22:30 
GeneralRe: char** Pin
ThatsAlok27-Nov-07 22:52
ThatsAlok27-Nov-07 22:52 
GeneralRe: char** Pin
sumd27-Nov-07 23:06
sumd27-Nov-07 23:06 
AnswerRe: char** Pin
toxcct27-Nov-07 22:41
toxcct27-Nov-07 22:41 
GeneralRe: char** Pin
ThatsAlok27-Nov-07 22:51
ThatsAlok27-Nov-07 22:51 
GeneralRe: char** Pin
toxcct27-Nov-07 23:04
toxcct27-Nov-07 23:04 
GeneralRe: char** Pin
ThatsAlok27-Nov-07 23:26
ThatsAlok27-Nov-07 23:26 
AnswerRe: char** Pin
ThatsAlok27-Nov-07 22:50
ThatsAlok27-Nov-07 22:50 
GeneralRe: char** Pin
toxcct27-Nov-07 23:04
toxcct27-Nov-07 23:04 
GeneralRe: char** Pin
ThatsAlok27-Nov-07 23:30
ThatsAlok27-Nov-07 23:30 
QuestionProblem with IE7 Pin
sumd27-Nov-07 21:03
sumd27-Nov-07 21:03 
AnswerRe: Problem with IE7 Pin
ThatsAlok27-Nov-07 22:48
ThatsAlok27-Nov-07 22:48 
GeneralRe: Problem with IE7 Pin
sumd27-Nov-07 23:14
sumd27-Nov-07 23:14 
Questionthread pool Pin
Jhony george27-Nov-07 20:53
Jhony george27-Nov-07 20:53 

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.