19 ON_BN_CLICKED( IDOK, OnBnClickedOk )
27 CAutoArrivalDlg::CAutoArrivalDlg
34 , mAutoArrivalEnabled(
FALSE )
35 , mMinimumStopTime( _T("") )
36 , mMinimumStopDistance( _T("") )
53 CDataExchange * aDataExchange
56 CDialog::DoDataExchange( aDataExchange );
71 CDialog::OnInitDialog();
94 GetDlgItem( IDOK )->EnableWindow(
TRUE );
98 GetDlgItem( IDOK )->EnableWindow(
FALSE );
110 GetDlgItem( IDOK )->EnableWindow(
TRUE );
125 GetDlgItem( IDOK )->EnableWindow(
TRUE );
129 GetDlgItem( IDOK )->EnableWindow(
FALSE );
void sendAutoArrival(uint32 aArrivalTime, uint32 aArrivalDistance)
Send a request to update the auto-arrival preferences.
BOOL OnInitDialog()
This function is called when the window is created.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
#define IDC_AUTOARR_EDIT_TIME
BOOL mAutoArrivalEnabled
The state of the Enabled check box.
CString mMinimumStopDistance
The minimum distance for a stop to be considered done by the client.
#define INVALID32
Placeholder for an invalid 32-bit value.
Serial communication controller for Garmin and FMI packets.
#define IDC_AUTOARR_EDIT_DISTANCE
CString mMinimumStopTime
The minimum stop time for a stop to be considered done by the client.
virtual ~CAutoArrivalDlg()
Destructor.
afx_msg void OnEnChangeEditBox()
Edit handler for the edit boxes on this dialog.
#define IDC_AUTOARR_CHK_ENABLED
afx_msg void OnBnClickedOk()
Button handler for the OK button on this dialog.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
afx_msg void OnBnClickedEnabled()
Button handler for the Enabled check box.
Dialog allowing the user to change the auto-arrival options.