Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioninternet Get Filetime Or Filesize. Pin
oversight_19749-Nov-05 13:21
oversight_19749-Nov-05 13:21 
QuestionCDC memory leak Pin
_Tom_9-Nov-05 11:49
_Tom_9-Nov-05 11:49 
AnswerRe: CDC memory leak Pin
Christian Graus9-Nov-05 13:45
protectorChristian Graus9-Nov-05 13:45 
QuestionExtract MS Word Menu Bar layout Pin
Ishan Banerjee9-Nov-05 11:25
Ishan Banerjee9-Nov-05 11:25 
Questionopengl drawtext Pin
lrola9-Nov-05 9:12
lrola9-Nov-05 9:12 
AnswerRe: opengl drawtext Pin
Mathieu Dijkstra9-Nov-05 9:53
Mathieu Dijkstra9-Nov-05 9:53 
QuestionSaving exceptions Pin
Federico Milano9-Nov-05 9:07
Federico Milano9-Nov-05 9:07 
Questionproblem with variable in 2 diferent dialog boxes Pin
Mathieu Dijkstra9-Nov-05 8:59
Mathieu Dijkstra9-Nov-05 8:59 
Sigh | :sigh: hi im new to windows programming and i am studiing the book in dutch
so sorry for my bad english.

problem is this:

i can't get data from dialog box 1 in to dialog box 2


kan anny one tel me wy this is
thank you verry much m.t. dijkstra
this is the litle program
www.palcopy.com/down_load/comunication_between_variabel_of_2_windows.zip
you can down load it frome my home page
the problem is in
m_waardeChild = a box in the 2th window where the text must be displayed

and
m_TestOutput = a input box in the 1th window where you come in !!!!

this is wat the second window must do

if in the second dialog is kliked on buton problem
then get input variabel frome 1 dialog en write it down in second window
but it dos not work????
void CChildDialog::OnBUTTONproblem()
{
// TODO: Add your control notification handler code here
// m_waardeChild = "this works";
// m_waardeChild = CComunicationbetweenvariabelof2windowsDlg.m_TestOutput;// dos not work
// m_waardeChild = CComunicationbetweenvariabelof2windowsDlg->m_TestOutput;// dos not work
m_waardeChild = CComunicationbetweenvariabelof2windowsDlg* m_TestOutput;

// can anny one tel me how this works in c++ i dont understand
// to get data from the other window up in here?????

UpdateData(FALSE);
}


thank's verry much for helping

-- modified at 15:35 Wednesday 9th November, 2005
QuestionRe: problem with variable in 2 diferent dialog boxes Pin
David Crow9-Nov-05 10:11
David Crow9-Nov-05 10:11 
AnswerRe: problem with variable in 2 diferent dialog boxes Pin
Mathieu Dijkstra9-Nov-05 10:24
Mathieu Dijkstra9-Nov-05 10:24 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
David Crow9-Nov-05 10:34
David Crow9-Nov-05 10:34 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
Mathieu Dijkstra9-Nov-05 11:07
Mathieu Dijkstra9-Nov-05 11:07 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
Mathieu Dijkstra9-Nov-05 22:57
Mathieu Dijkstra9-Nov-05 22:57 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
David Crow10-Nov-05 2:36
David Crow10-Nov-05 2:36 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
Mathieu Dijkstra10-Nov-05 7:17
Mathieu Dijkstra10-Nov-05 7:17 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
David Crow10-Nov-05 8:20
David Crow10-Nov-05 8:20 
GeneralRe: problem with variable in 2 diferent dialog boxes Pin
Mathieu Dijkstra10-Nov-05 8:31
Mathieu Dijkstra10-Nov-05 8:31 
QuestionFast files Pin
hint_549-Nov-05 7:42
hint_549-Nov-05 7:42 
GeneralRe: Fast files Pin
cgreathouse9-Nov-05 8:12
cgreathouse9-Nov-05 8:12 
GeneralRe: Fast files Pin
hint_549-Nov-05 9:06
hint_549-Nov-05 9:06 
GeneralRe: Fast files Pin
cgreathouse9-Nov-05 9:36
cgreathouse9-Nov-05 9:36 
GeneralRe: Fast files Pin
hint_549-Nov-05 10:48
hint_549-Nov-05 10:48 
GeneralRe: Fast files Pin
David Crow9-Nov-05 9:55
David Crow9-Nov-05 9:55 
AnswerRe: Fast files Pin
David Crow9-Nov-05 8:34
David Crow9-Nov-05 8:34 
GeneralRe: Fast files Pin
hint_549-Nov-05 9:15
hint_549-Nov-05 9:15 

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.