14 #if( FMI_SUPPORT_A615 ) 23 UINT valueLabelStringId,
24 UINT valueUnitStringId,
37 if( IDOK == dlg.DoModal() )
67 CDialog::DoDataExchange(pDX);
69 DDV_MaxChars(pDX,
mValue, 5);
91 CDialog::OnInitDialog();
96 SetWindowText( title );
120 GetDlgItem( IDOK )->EnableWindow(
FALSE );
123 if( 0 != ((CButton*)GetDlgItem(
IDC_ENABLE_NO ))->GetCheck() )
130 if( 0 ==
mValue.GetLength() ||
134 GetDlgItem( IDOK )->EnableWindow(
FALSE );
139 GetDlgItem( IDOK )->EnableWindow();
Form for individually capturing general HOS settings.
virtual ~CHosSettingDlg()
CHosSettingDlg(CWnd *pParent)
Constructor.
BOOL OnInitDialog()
Initialize the dialog.
long mValueLowerLimit
Field value lower limit.
#define IDC_HOS_SETTING_VALUE
UINT mValueLabelStringId
Resource ID for the value field label.
UINT mTitleStringId
Resource ID for the window title.
UINT mValueUnitStringId
Resource ID for the value field units label.
unsigned short int uint16
16-bit unsigned integer
afx_msg void OnReevaluate()
Change handler for editable controls.
BOOL mDisabled
Control value representing radio button for enable/disable.
#define IDC_HOS_SETTING_VALUE_LABEL
long mValueUpperLimit
Field value upper limit.
#define IDC_HOS_SETTING_VALUE_UNIT
virtual void DoDataExchange(CDataExchange *pDX)
CString mValue
Control value representing the HOS setting's value.