Click here to Skip to main content
15,917,862 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Tree Ctrl Pin
Varghese Paul M1-Aug-08 17:08
Varghese Paul M1-Aug-08 17:08 
GeneralRe: Tree Ctrl Pin
john56321-Aug-08 17:24
john56321-Aug-08 17:24 
JokeOffTopic Pin
Rajesh R Subramanian1-Aug-08 19:09
professionalRajesh R Subramanian1-Aug-08 19:09 
AnswerRe: Tree Ctrl Pin
Gary R. Wheeler2-Aug-08 3:52
Gary R. Wheeler2-Aug-08 3:52 
QuestionI need to copy the data from my program's MS Access 2007 database and place it in Excel thru a Menu Selection Pin
Larry Mills Sr1-Aug-08 16:36
Larry Mills Sr1-Aug-08 16:36 
QuestionCapture the windows console exit event Pin
Nacho Chip1-Aug-08 11:06
Nacho Chip1-Aug-08 11:06 
AnswerRe: Capture the windows console exit event Pin
Mark Salsbery1-Aug-08 12:54
Mark Salsbery1-Aug-08 12:54 
QuestionDetect if an Application is Playing any Sound Pin
Lord Bogy1-Aug-08 10:15
Lord Bogy1-Aug-08 10:15 
QuestionCTypedPtrList<coblist,>*****; error missing ; before <</xml> Pin
simon alec smith1-Aug-08 4:28
simon alec smith1-Aug-08 4:28 
QuestionRe: CTypedPtrList<coblist,>*****; error missing ; before <</xml> Pin
David Crow1-Aug-08 4:37
David Crow1-Aug-08 4:37 
AnswerRe: CTypedPtrList<coblist,>*****; error missing ; before <</xml& Pin
simon alec smith1-Aug-08 4:56
simon alec smith1-Aug-08 4:56 
GeneralRe: CTypedPtrList<coblist,>*****; error missing ; before <</xml& Pin
vikas amin1-Aug-08 9:21
vikas amin1-Aug-08 9:21 
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 

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.