#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 }; |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
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(). |