Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Interrupt a Loop Pin
ChuckInABQ12-Dec-05 9:40
ChuckInABQ12-Dec-05 9:40 
QuestionRight Mouse Button down on List Box Pin
Alex Orovetskiy12-Dec-05 6:02
Alex Orovetskiy12-Dec-05 6:02 
QuestionCom ports Pin
Demian Panello12-Dec-05 5:39
Demian Panello12-Dec-05 5:39 
AnswerRe: Com ports Pin
khan++12-Dec-05 19:48
khan++12-Dec-05 19:48 
GeneralRe: Com ports Pin
wotur12-Dec-05 21:32
wotur12-Dec-05 21:32 
GeneralRe: Com ports Pin
Demian Panello13-Dec-05 0:26
Demian Panello13-Dec-05 0:26 
QuestionHow to give Focus in form using DLL inside other DLL Pin
horacyjr12-Dec-05 5:37
horacyjr12-Dec-05 5:37 
QuestionUpdateData for radio buttons ... Pin
Maximilien12-Dec-05 5:20
Maximilien12-Dec-05 5:20 
I have a modeless child dialog of another parent dialog.

when initializing the parent dialog, I set initial values for the child dialog controls; one of those controls ( more than one actually ) is a radio button group. That radio button group will enable/disable corresponding controls depending on which button is pressed.

Now, I want to initialize the radio with one value, and automatically enable/disabled corresponding controls ( like it would behave if the user click on one of the radio choice ).

I do something like :
//...
m_RadioValue = myRadioValue; // myRadioValue is the index to the radio button in the group.
UpdateData( FALSE );
//...


When doing the UpdateData, it will set the UI for the radio button, but is there a way to call the callback that would be called if the user clicked on one of the button; or do I have to do all this manually ? not a big work, but will need a bit of code re-organizing.

hope I was clear enough.

Thanks.


Maximilien Lincourt
Your Head A Splode - Strong Bad
AnswerRe: UpdateData for radio buttons ... Pin
David Crow12-Dec-05 6:01
David Crow12-Dec-05 6:01 
GeneralRe: UpdateData for radio buttons ... Pin
Maximilien12-Dec-05 6:26
Maximilien12-Dec-05 6:26 
GeneralRe: UpdateData for radio buttons ... Pin
Maximilien12-Dec-05 7:05
Maximilien12-Dec-05 7:05 
QuestionRe: UpdateData for radio buttons ... Pin
David Crow12-Dec-05 8:03
David Crow12-Dec-05 8:03 
AnswerRe: UpdateData for radio buttons ... Pin
Maximilien12-Dec-05 9:04
Maximilien12-Dec-05 9:04 
GeneralRe: UpdateData for radio buttons ... Pin
David Crow12-Dec-05 9:37
David Crow12-Dec-05 9:37 
GeneralRe: UpdateData for radio buttons ... Pin
Maximilien12-Dec-05 9:59
Maximilien12-Dec-05 9:59 
GeneralRe: UpdateData for radio buttons ... Pin
David Crow12-Dec-05 10:39
David Crow12-Dec-05 10:39 
QuestionC++ using Crystal Reports Pin
dwillms12-Dec-05 4:43
dwillms12-Dec-05 4:43 
AnswerRe: C++ using Crystal Reports Pin
JonEngle12-Dec-05 5:17
JonEngle12-Dec-05 5:17 
GeneralRe: C++ using Crystal Reports Pin
dwillms12-Dec-05 8:39
dwillms12-Dec-05 8:39 
GeneralRe: C++ using Crystal Reports Pin
JonEngle12-Dec-05 9:17
JonEngle12-Dec-05 9:17 
GeneralRe: C++ using Crystal Reports Pin
dwillms13-Dec-05 7:03
dwillms13-Dec-05 7:03 
QuestionLimit to GDI Handles and User Handles Pin
Patje12-Dec-05 3:10
Patje12-Dec-05 3:10 
AnswerRe: Limit to GDI Handles and User Handles Pin
Blake Miller12-Dec-05 4:43
Blake Miller12-Dec-05 4:43 
QuestionCSocket object in Win32 Console Application Pin
ilgale12-Dec-05 2:57
ilgale12-Dec-05 2:57 
AnswerRe: CSocket object in Win32 Console Application Pin
Alex Orovetskiy12-Dec-05 3:20
Alex Orovetskiy12-Dec-05 3:20 

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.