Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling methods in child classes from base class? Pin
clintsinger14-Aug-02 10:09
clintsinger14-Aug-02 10:09 
GeneralStupid Question Pin
John Pepper14-Aug-02 8:47
John Pepper14-Aug-02 8:47 
GeneralRe: Stupid Question Pin
Ranjan Banerji14-Aug-02 8:57
Ranjan Banerji14-Aug-02 8:57 
GeneralRe: Stupid Question Pin
Chris Losinger14-Aug-02 9:00
professionalChris Losinger14-Aug-02 9:00 
GeneralRe: Stupid Question Pin
Anonymous14-Aug-02 9:36
Anonymous14-Aug-02 9:36 
GeneralRe: Stupid Question Pin
Christian Graus14-Aug-02 12:53
protectorChristian Graus14-Aug-02 12:53 
GeneralPhilsophical Question Pin
Chris Losinger14-Aug-02 13:27
professionalChris Losinger14-Aug-02 13:27 
GeneralEmbedded C++ 3.0 Member Variables Pin
Like2Byte14-Aug-02 8:28
Like2Byte14-Aug-02 8:28 
How can I get a member variable associated with a control on a dialog?

I've used the Class Wizard in an attempt to add a member variable associated with the control to no avail. The only way I can transfer the data from the form to the variable is via 'GetDlgItemText' and 'GetDlgItemText' doesn't work with Radio (AKA: Option) Controls.

All the controls I've placed on the form will not accept member variables with its associated class functions (ie: text box = edit1.text, edit1.GetLength, etc.)

I have to create member variables through the 'Class View' pane and they're not associated with any particular control.

Can anyone help?

(I can do it VC++ 6.0 but not EVC++ 3.0.)
GeneralRe: Embedded C++ 3.0 Member Variables Pin
Bill Wilson14-Aug-02 8:50
Bill Wilson14-Aug-02 8:50 
GeneralRe: Embedded C++ 3.0 Member Variables Pin
Like2Byte14-Aug-02 9:22
Like2Byte14-Aug-02 9:22 
GeneralRe: Embedded C++ 3.0 Member Variables Pin
Bill Wilson14-Aug-02 9:50
Bill Wilson14-Aug-02 9:50 
GeneralRe: Embedded C++ 3.0 Member Variables Pin
Like2Byte14-Aug-02 10:01
Like2Byte14-Aug-02 10:01 
GeneralRe: Embedded C++ 3.0 Member Variables Pin
Bill Wilson14-Aug-02 10:40
Bill Wilson14-Aug-02 10:40 
QuestionIs this bad design (CComVariant) ? Pin
Todd Smith14-Aug-02 8:27
Todd Smith14-Aug-02 8:27 
AnswerRe: Is this bad design (CComVariant) ? Pin
Shog914-Aug-02 10:01
sitebuilderShog914-Aug-02 10:01 
AnswerRe: Is this bad design (CComVariant) ? Pin
Bill Wilson14-Aug-02 10:51
Bill Wilson14-Aug-02 10:51 
GeneralRe: Is this bad design (CComVariant) ? Pin
Todd Smith14-Aug-02 12:57
Todd Smith14-Aug-02 12:57 
GeneralRe: Is this bad design (CComVariant) ? Pin
Bill Wilson14-Aug-02 13:13
Bill Wilson14-Aug-02 13:13 
GeneralRe: Is this bad design (CComVariant) ? Pin
Todd Smith14-Aug-02 13:17
Todd Smith14-Aug-02 13:17 
GeneralRe: Is this bad design (CComVariant) ? Pin
Michael Dunn14-Aug-02 15:02
sitebuilderMichael Dunn14-Aug-02 15:02 
GeneralRe: Is this bad design (CComVariant) ? Pin
Bill Wilson15-Aug-02 6:06
Bill Wilson15-Aug-02 6:06 
GeneralRe: Is this bad design (CComVariant) ? Pin
Michael Dunn15-Aug-02 7:22
sitebuilderMichael Dunn15-Aug-02 7:22 
GeneralRe: Is this bad design (CComVariant) ? Pin
Bill Wilson15-Aug-02 7:58
Bill Wilson15-Aug-02 7:58 
GeneralRe: Is this bad design (CComVariant) ? Pin
Philippe Mori15-Aug-02 10:13
Philippe Mori15-Aug-02 10:13 
GeneralRe: Is this bad design (CComVariant) ? Pin
Bill Wilson16-Aug-02 7:32
Bill Wilson16-Aug-02 7:32 

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.