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
 

FileInfoDialog.cpp class CFileInfoDialog implementation des datei-informationsdialogs

Definition at line 22 of file FileInfoDialog.cpp.

References m_sDimX, m_sDimY, m_sDimZ, and m_sFilename.

00023         : CDialog(CFileInfoDialog::IDD, pParent)
00024 {
00025         //{{AFX_DATA_INIT(CFileInfoDialog)
00026         m_sFilename = _T("");
00027         m_sDimX = _T("");
00028         m_sDimY = _T("");
00029         m_sDimZ = _T("");
00030         //}}AFX_DATA_INIT
00031 }


Member Function Documentation

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

Definition at line 46 of file FileInfoDialog.cpp.

00047 {
00048         CDialog::DoDataExchange(pDX);
00049         //{{AFX_DATA_MAP(CFileInfoDialog)
00050         DDX_Text(pDX, IDC_STATIC_INFO_FILENAME, m_sFilename);
00051         DDX_Text(pDX, IDC_STATIC_INFO_DIMX, m_sDimX);
00052         DDX_Text(pDX, IDC_STATIC_INFO_DIMY, m_sDimY);
00053         DDX_Text(pDX, IDC_STATIC_INFO_DIMZ, m_sDimZ);
00054         //}}AFX_DATA_MAP
00055 }

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

Definition at line 67 of file FileInfoDialog.cpp.

00068 {
00069         CDialog::OnShowWindow(bShow, nStatus);
00070         
00071         // TODO: Add your message handler code here
00072         if (!bShow)
00073                 return;
00074 
00075         UpdateData(FALSE);
00076 }

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

Definition at line 34 of file FileInfoDialog.cpp.

References m_sDimX, m_sDimY, m_sDimZ, and m_sFilename.

Referenced by CMy3dvisApp::OnFileInfo().

00034                                                                            {
00035         m_sFilename = filename.c_str();
00036         char number[20];
00037         _itoa(dimx, number, 10);
00038         m_sDimX = number;
00039         _itoa(dimy, number, 10);
00040         m_sDimY = number;
00041         _itoa(dimz, number, 10);
00042         m_sDimZ = number;
00043 }


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 30 21:35:44 2003 for 3DVis by doxygen1.3-rc2