#include <IniFile.h>
Public Methods | |
| IniFile (CWnd *pParent=NULL) | |
| void | SetupData (int fileThres, int packSize) |
| void | GetData (int &fileThres, int &packSize) |
Protected Methods | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| afx_msg void | OnChangeEditIniFilethres () |
| afx_msg void | OnChangeEditIniPacketsize () |
| afx_msg void | OnShowWindow (BOOL bShow, UINT nStatus) |
Private Types | |
| enum | { IDD = IDD_DIALOG_INI_FILE } |
Private Attributes | |
| int | m_dFileThres |
| int | m_dPackSize |
|
|
Definition at line 18 of file IniFile.h.
00018 { IDD = IDD_DIALOG_INI_FILE };
|
|
|
Definition at line 18 of file IniFile.cpp. References m_dFileThres, and m_dPackSize.
00019 : CDialog(IniFile::IDD, pParent)
00020 {
00021 //{{AFX_DATA_INIT(IniFile)
00022 m_dFileThres = 0;
00023 m_dPackSize = 0;
00024 //}}AFX_DATA_INIT
00025 }
|
|
|
Definition at line 28 of file IniFile.cpp.
00029 {
00030 CDialog::DoDataExchange(pDX);
00031 //{{AFX_DATA_MAP(IniFile)
00032 DDX_Text(pDX, IDC_EDIT_INI_FILETHRES, m_dFileThres);
00033 DDV_MinMaxInt(pDX, m_dFileThres, 0, 1000);
00034 DDX_Text(pDX, IDC_EDIT_INI_PACKETSIZE, m_dPackSize);
00035 DDV_MinMaxInt(pDX, m_dPackSize, 0, 1000);
00036 //}}AFX_DATA_MAP
00037 }
|
|
||||||||||||
|
Definition at line 34 of file IniFile.h. Referenced by CMy3dvisApp::OnFileIni().
00034 { fileThres = m_dFileThres;
00035 packSize = m_dPackSize; };
|
|
|
Definition at line 51 of file IniFile.cpp.
00052 {
00053 // TODO: If this is a RICHEDIT control, the control will not
00054 // send this notification unless you override the CDialog::OnInitDialog()
00055 // function and call CRichEditCtrl().SetEventMask()
00056 // with the ENM_CHANGE flag ORed into the mask.
00057
00058 // TODO: Add your control notification handler code here
00059 UpdateData(TRUE);
00060 }
|
|
|
Definition at line 62 of file IniFile.cpp.
00063 {
00064 // TODO: If this is a RICHEDIT control, the control will not
00065 // send this notification unless you override the CDialog::OnInitDialog()
00066 // function and call CRichEditCtrl().SetEventMask()
00067 // with the ENM_CHANGE flag ORed into the mask.
00068
00069 // TODO: Add your control notification handler code here
00070 UpdateData(TRUE);
00071 }
|
|
||||||||||||
|
Definition at line 73 of file IniFile.cpp.
00074 {
00075 CDialog::OnShowWindow(bShow, nStatus);
00076
00077 // TODO: Add your message handler code here
00078 UpdateData(FALSE);
00079 }
|
|
||||||||||||
|
Definition at line 31 of file IniFile.h. Referenced by CMy3dvisApp::OnFileIni().
00031 { m_dFileThres = fileThres;
00032 m_dPackSize = packSize; };
|
|
|
Definition at line 19 of file IniFile.h. Referenced by IniFile(). |
|
|
Definition at line 20 of file IniFile.h. Referenced by IniFile(). |
1.3-rc2