Click here to Skip to main content
15,902,893 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTypedPtrList<coblist,>*****; error missing ; before <</xml& Pin
simon alec smith1-Aug-08 10:20
simon alec smith1-Aug-08 10:20 
Questionproblem with 2 dialog that want access to.... Pin
keyvan_jaferzade1-Aug-08 4:26
keyvan_jaferzade1-Aug-08 4:26 
QuestionRe: problem with 2 dialog that want access to.... Pin
David Crow1-Aug-08 4:36
David Crow1-Aug-08 4:36 
AnswerRe: problem with 2 dialog that want access to.... Pin
keyvan_jaferzade1-Aug-08 4:51
keyvan_jaferzade1-Aug-08 4:51 
QuestionRe: problem with 2 dialog that want access to.... Pin
David Crow1-Aug-08 4:56
David Crow1-Aug-08 4:56 
AnswerRe: problem with 2 dialog that want access to.... Pin
Cedric Moonen1-Aug-08 5:17
Cedric Moonen1-Aug-08 5:17 
AnswerRe: problem with 2 dialog that want access to.... Pin
keyvan_jaferzade1-Aug-08 9:59
keyvan_jaferzade1-Aug-08 9:59 
AnswerRe: problem with 2 dialog that want access to.... Pin
keyvan_jaferzade2-Aug-08 0:33
keyvan_jaferzade2-Aug-08 0:33 
This is my code for first Dialog



#if !defined(AFX_DIALOG1_H__F50AB9B4_5FA3_4068_843C_01A10ED22766__INCLUDED_)
#define AFX_DIALOG1_H__F50AB9B4_5FA3_4068_843C_01A10ED22766__INCLUDED_
#include "dialog2.h" // Added by ClassView

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dialog1.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// dialog1 dialog

class dialog1 : public CDialog
{
// Construction
public:
dialog2 d2;
dialog1(CWnd* pParent = NULL); // standard constructor


// Dialog Data
//{{AFX_DATA(dialog1)
enum { IDD = IDD_DIALOG1 };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA


// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(dialog1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL

// Implementation
protected:

// Generated message map functions
//{{AFX_MSG(dialog1)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOG1_H__F50AB9B4_5FA3_4068_843C_01A10ED22766__INCLUDED_)



//**************************************************************************


And second dialog Code is

#if !defined(AFX_DIALOG2_H__B49F8072_EB87_4558_8CE9_E83A7852E553__INCLUDED_)
#define AFX_DIALOG2_H__B49F8072_EB87_4558_8CE9_E83A7852E553__INCLUDED_

#include "dialog1.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dialog2.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// dialog2 dialog

class dialog2 : public CDialog
{
// Construction
public:
dialog1 d1;
dialog2(CWnd* pParent = NULL); // standard constructor


// Dialog Data
//{{AFX_DATA(dialog2)
enum { IDD = IDD_DIALOG2 };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA


// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(dialog2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL

// Implementation
protected:

// Generated message map functions
//{{AFX_MSG(dialog2)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOG2_H__B49F8072_EB87_4558_8CE9_E83A7852E553__INCLUDED_)
AnswerRe: problem with 2 dialog that want access to.... Pin
Hamid_RT2-Aug-08 8:58
Hamid_RT2-Aug-08 8:58 
GeneralRe: problem with 2 dialog that want access to.... Pin
keyvan_jaferzade2-Aug-08 9:10
keyvan_jaferzade2-Aug-08 9:10 
GeneralRe: problem with 2 dialog that want access to.... Pin
David Crow2-Aug-08 10:43
David Crow2-Aug-08 10:43 
QuestionPost Message for Key Pin
bhanu_85091-Aug-08 3:01
bhanu_85091-Aug-08 3:01 
AnswerRe: Post Message for Key Pin
Cedric Moonen1-Aug-08 3:07
Cedric Moonen1-Aug-08 3:07 
AnswerRe: Post Message for Key Pin
Iain Clarke, Warrior Programmer1-Aug-08 3:13
Iain Clarke, Warrior Programmer1-Aug-08 3:13 
AnswerRe: Post Message for Key Pin
Rajesh R Subramanian1-Aug-08 3:24
professionalRajesh R Subramanian1-Aug-08 3:24 
QuestionHow to write text to an image? Pin
Anthony Appleyard1-Aug-08 2:44
Anthony Appleyard1-Aug-08 2:44 
AnswerRe: How to write text to an image? Pin
KarstenK1-Aug-08 3:10
mveKarstenK1-Aug-08 3:10 
QuestionRe: How to write text to an image? Pin
David Crow1-Aug-08 3:47
David Crow1-Aug-08 3:47 
AnswerOT- Nice article. Pin
CPallini1-Aug-08 8:26
mveCPallini1-Aug-08 8:26 
AnswerRe: How to write text to an image? Pin
Anthony Appleyard1-Aug-08 9:41
Anthony Appleyard1-Aug-08 9:41 
GeneralRe: How to write text to an image? Pin
Mark Salsbery1-Aug-08 10:29
Mark Salsbery1-Aug-08 10:29 
GeneralRe: How to write text to an image? Pin
Anthony Appleyard1-Aug-08 12:11
Anthony Appleyard1-Aug-08 12:11 
GeneralRe: How to write text to an image? Pin
Mark Salsbery1-Aug-08 12:49
Mark Salsbery1-Aug-08 12:49 
GeneralRe: How to write text to an image? Pin
Anthony Appleyard1-Aug-08 19:10
Anthony Appleyard1-Aug-08 19:10 
GeneralRe: How to write text to an image? Pin
Mark Salsbery2-Aug-08 6:20
Mark Salsbery2-Aug-08 6: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.