Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CFileInfoDialog Class Reference

#include <FileInfoDialog.h>

List of all members.

Public Methods

 CFileInfoDialog (CWnd *pParent=NULL)
void SetInfo (string filename, int dimx, int dimy, int dimz)

Protected Methods

virtual void DoDataExchange (CDataExchange *pDX)
afx_msg void OnShowWindow (BOOL bShow, UINT nStatus)

Private Types

enum  { IDD = IDD_FILEINFODIALOG_DIALOG }

Private Attributes

CString m_sFilename
CString m_sDimX
CString m_sDimY
CString m_sDimZ


Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
IDD 

Definition at line 21 of file FileInfoDialog.h.


Constructor & Destructor Documentation

CFileInfoDialog::CFileInfoDialog CWnd *    pParent = NULL
 

Definition at line 18 of file FileInfoDialog.cpp.

References m_sDimX, m_sDimY, m_sDimZ, and m_sFilename.

00019         : CDialog(CFileInfoDialog::IDD, pParent)
00020 {
00021         //{{AFX_DATA_INIT(CFileInfoDialog)
00022         m_sFilename = _T("");
00023         m_sDimX = _T("");
00024         m_sDimY = _T("");
00025         m_sDimZ = _T("");
00026         //}}AFX_DATA_INIT
00027 }


Member Function Documentation

void CFileInfoDialog::DoDataExchange CDataExchange *    pDX [protected, virtual]
 

Definition at line 42 of file FileInfoDialog.cpp.

00043 {
00044         CDialog::DoDataExchange(pDX);
00045         //{{AFX_DATA_MAP(CFileInfoDialog)
00046         DDX_Text(pDX, IDC_STATIC_INFO_FILENAME, m_sFilename);
00047         DDX_Text(pDX, IDC_STATIC_INFO_DIMX, m_sDimX);
00048         DDX_Text(pDX, IDC_STATIC_INFO_DIMY, m_sDimY);
00049         DDX_Text(pDX, IDC_STATIC_INFO_DIMZ, m_sDimZ);
00050         //}}AFX_DATA_MAP
00051 }

void CFileInfoDialog::OnShowWindow BOOL    bShow,
UINT    nStatus
[protected]
 

Definition at line 63 of file FileInfoDialog.cpp.

00064 {
00065         CDialog::OnShowWindow(bShow, nStatus);
00066         
00067         // TODO: Add your message handler code here
00068         if (!bShow)
00069                 return;
00070 
00071         UpdateData(FALSE);
00072 }

void CFileInfoDialog::SetInfo string    filename,
int    dimx,
int    dimy,
int    dimz
 

Definition at line 30 of file FileInfoDialog.cpp.

References m_sDimX, m_sDimY, m_sDimZ, and m_sFilename.

Referenced by CMy3dvisApp::OnFileInfo().

00030                                                                            {
00031         m_sFilename = filename.c_str();
00032         char number[20];
00033         _itoa(dimx, number, 10);
00034         m_sDimX = number;
00035         _itoa(dimy, number, 10);
00036         m_sDimY = number;
00037         _itoa(dimz, number, 10);
00038         m_sDimZ = number;
00039 }


Member Data Documentation

CString CFileInfoDialog::m_sDimX [private]
 

Definition at line 23 of file FileInfoDialog.h.

Referenced by CFileInfoDialog(), and SetInfo().

CString CFileInfoDialog::m_sDimY [private]
 

Definition at line 24 of file FileInfoDialog.h.

Referenced by CFileInfoDialog(), and SetInfo().

CString CFileInfoDialog::m_sDimZ [private]
 

Definition at line 25 of file FileInfoDialog.h.

Referenced by CFileInfoDialog(), and SetInfo().

CString CFileInfoDialog::m_sFilename [private]
 

Definition at line 22 of file FileInfoDialog.h.

Referenced by CFileInfoDialog(), and SetInfo().


The documentation for this class was generated from the following files:
Generated on Thu Jan 23 12:32:16 2003 by doxygen1.3-rc2