Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

CNameDlg Class Reference

#include <NameDlg.h>

Inheritance diagram for CNameDlg:

Inheritance graph
[legend]
Collaboration diagram for CNameDlg:

Collaboration graph
[legend]

Public Types

enum  { IDD = IDD_NEWNAME }

Public Member Functions

 CNameDlg (const char *pName, CWnd *pParent=NULL)

Data Fields

CString m_strName

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()

Private Attributes

CString m_strCaption

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file NameDlg.h.

00043 { IDD = IDD_NEWNAME };


Constructor & Destructor Documentation

CNameDlg const char *  pName,
CWnd pParent = NULL
 

Definition at line 39 of file NameDlg.cpp.

References m_strCaption, and m_strName.

00040     : CDialog(CNameDlg::IDD, pParent)
00041 {
00042     //{{AFX_DATA_INIT(CNameDlg)
00043     m_strName = _T("");
00044     //}}AFX_DATA_INIT
00045   m_strCaption = pName;
00046 }


Member Function Documentation

void DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Definition at line 49 of file NameDlg.cpp.

References IDC_EDIT_NAME, and m_strName.

00050 {
00051     CDialog::DoDataExchange(pDX);
00052     //{{AFX_DATA_MAP(CNameDlg)
00053     DDX_Text(pDX, IDC_EDIT_NAME, m_strName);
00054     //}}AFX_DATA_MAP
00055 }

BOOL OnInitDialog  )  [protected, virtual]
 

Definition at line 71 of file NameDlg.cpp.

References BOOL, and m_strCaption.

00072 {
00073     CDialog::OnInitDialog();
00074 
00075   SetWindowText(m_strCaption);
00076     
00077     return TRUE;  // return TRUE unless you set the focus to a control
00078                   // EXCEPTION: OCX Property Pages should return FALSE
00079 }

virtual void OnOK  )  [protected, virtual]
 


Field Documentation

CString m_strCaption [private]
 

Definition at line 36 of file NameDlg.h.

Referenced by CNameDlg(), and OnInitDialog().

CString m_strName
 

Definition at line 44 of file NameDlg.h.

Referenced by CNameDlg(), DoDataExchange(), CGroupDlg::OnBtnAdd(), CMainFrame::OnDropGroupName(), CDlgCamera::OnFileOpen(), and CDlgCamera::OnFileSave().


The documentation for this class was generated from the following files:
Generated on Thu Aug 25 19:35:00 2005 for Quake III Arena by  doxygen 1.3.9.1