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

C / C++ / MFC

 
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 
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 
m_TestOutput is in main window and is public

this is standing in dialog 1 under buttonproblem
void CChildDialog::OnBUTTONproblem() <br />
{<br />
	CWnd *CParentWindow = GetParent();// Get pointer from parent window<br />
<br />
	m_waardeChild = CParentWindow->m_TestOutput;// dos not work ether<br />
//<br />
<br />
// can anny one tel me how this works in c++ i dont understand<br />
// to get data from the other window up in here?????	<br />
	<br />
	UpdateData(FALSE);	<br />
}


get folowing error
--------------------Configuration: comunication between variabel of 2 windows - Win32 Debug--------------------
Compiling...
ChildDialog.cpp
c:\sevc6\comunication between variabel of 2 windows\ChildDialog.cpp(54) : error C2039: 'm_TestOutput' : is not a member of 'CWnd'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1899) : see declaration of 'CWnd'
Error executing cl.exe.

comunication between variabel of 2 windows.exe - 1 error(s), 0 warning(s)


thank's verry much for helping

-- modified at 17:11 Wednesday 9th November, 2005
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[Message Deleted] Pin
Mathieu Dijkstra9-Nov-05 9:31
Mathieu Dijkstra9-Nov-05 9:31 
GeneralRe: Fast files Pin
David Crow9-Nov-05 9:49
David Crow9-Nov-05 9:49 
GeneralRe: Fast files Pin
hint_549-Nov-05 10:06
hint_549-Nov-05 10:06 
GeneralRe: Fast files Pin
David Crow9-Nov-05 10:17
David Crow9-Nov-05 10:17 

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.