#include <FileInfoDialog.h>
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 |
|
Definition at line 21 of file FileInfoDialog.h.
00021 { IDD = IDD_FILEINFODIALOG_DIALOG }; |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
Definition at line 23 of file FileInfoDialog.h. Referenced by CFileInfoDialog(), and SetInfo(). |
|
Definition at line 24 of file FileInfoDialog.h. Referenced by CFileInfoDialog(), and SetInfo(). |
|
Definition at line 25 of file FileInfoDialog.h. Referenced by CFileInfoDialog(), and SetInfo(). |
|
Definition at line 22 of file FileInfoDialog.h. Referenced by CFileInfoDialog(), and SetInfo(). |