16 #if( FMI_SUPPORT_A610 ) 22 ON_BN_CLICKED( IDOK, OnBnClickedOk )
30 CAobrdOdometerDlg::CAobrdOdometerDlg
37 , odometer_value( _T("") )
54 CDataExchange * aDataExchange
57 CDialog::DoDataExchange( aDataExchange );
70 CDialog::OnInitDialog();
84 GetDlgItem( IDOK )->EnableWindow(
TRUE );
86 GetDlgItem( IDOK )->EnableWindow(
FALSE );
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
void sendAOBRDOdometerValue(uint32 aOdometer)
Send AOBRD Odometer value to device.
CString odometer_value
Odometer reading entered by the user.
codepage_type mClientCodepage
Code page used for encoding of text fields when communicating with the client.
Modal dialog allowing the user to set AOBRD Odometer value.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
Serial communication controller for Garmin and FMI packets.
BOOL OnInitDialog()
Initialize the dialog.
afx_msg void OnBnClickedOk()
Click handler for the OK button.
afx_msg void OnEnChangeAobrdOdometer()
Edit Change handler for AOBRD odometer value text box.
virtual ~CAobrdOdometerDlg()
Destructor.
unsigned long int uint32
32-bit unsigned integer
#define IDC_AOBRD_ODOMETER_VALUE
#define IDD_AOBRD_ODOMETER