Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thanks But........... Pin
PJ Arends5-Aug-03 6:19
professionalPJ Arends5-Aug-03 6:19 
GeneralNeed some articles about Threads and Processes Pin
FlyingDancer4-Aug-03 16:23
FlyingDancer4-Aug-03 16:23 
GeneralRe: Need some articles about Threads and Processes Pin
Arjan Schouten4-Aug-03 21:36
Arjan Schouten4-Aug-03 21:36 
GeneralRe: Need some articles about Threads and Processes Pin
David Crow5-Aug-03 2:47
David Crow5-Aug-03 2:47 
GeneralRe: Need some articles about Threads and Processes Pin
FlyingDancer5-Aug-03 17:12
FlyingDancer5-Aug-03 17:12 
Questionhow can i read from the net port Pin
gdzfy4-Aug-03 16:16
gdzfy4-Aug-03 16:16 
AnswerRe: how can i read from the net port Pin
Frank K4-Aug-03 20:41
Frank K4-Aug-03 20:41 
QuestionIs there a better way to handle dialog class variables? Pin
Terry O'Nolley4-Aug-03 15:36
Terry O'Nolley4-Aug-03 15:36 
I need to remember the values of variables that were assigned in one dialog box after that dialog box creates another dialog box. Because I don't want to use global variables I have resorted to using hidden controls on the first dialog box to store the values. Then the second dialog box can access them with CWnd* wParent=GetParent(); and wParent->GetDlgItemText(IDCONTROL, String);

But this seems really contrived and kludgy.

I tried using Class Wizard to create member variables, but I could only see controls listed.

Is this workaround I have been using really the way to store variables that are accessible by child windows?









AnswerRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher4-Aug-03 15:55
John M. Drescher4-Aug-03 15:55 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley4-Aug-03 17:33
Terry O'Nolley4-Aug-03 17:33 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher4-Aug-03 17:39
John M. Drescher4-Aug-03 17:39 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley4-Aug-03 18:07
Terry O'Nolley4-Aug-03 18:07 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher4-Aug-03 18:15
John M. Drescher4-Aug-03 18:15 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher4-Aug-03 18:20
John M. Drescher4-Aug-03 18:20 
AnswerRe: Is there a better way to handle dialog class variables? Pin
PJ Arends4-Aug-03 17:02
professionalPJ Arends4-Aug-03 17:02 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley4-Aug-03 17:57
Terry O'Nolley4-Aug-03 17:57 
GeneralRe: Is there a better way to handle dialog class variables? Pin
PJ Arends4-Aug-03 18:17
professionalPJ Arends4-Aug-03 18:17 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley5-Aug-03 4:10
Terry O'Nolley5-Aug-03 4:10 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher4-Aug-03 18:27
John M. Drescher4-Aug-03 18:27 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley5-Aug-03 4:20
Terry O'Nolley5-Aug-03 4:20 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher5-Aug-03 4:51
John M. Drescher5-Aug-03 4:51 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley5-Aug-03 5:02
Terry O'Nolley5-Aug-03 5:02 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher5-Aug-03 5:28
John M. Drescher5-Aug-03 5:28 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley5-Aug-03 6:10
Terry O'Nolley5-Aug-03 6:10 
GeneralStore procedure Pin
PrasadD4-Aug-03 12:38
PrasadD4-Aug-03 12:38 

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.