19 ON_BN_CLICKED( IDOK, OnBnClickedSend )
31 _T(
"1 - Dispatch Stops"),
32 _T(
"2 - Driver Initiated Stops"),
33 _T(
"3 - Dispatch or Driver Initiated Stops")
65 CDataExchange * aDataExchange
68 CDialog::DoDataExchange( aDataExchange );
72 mMode = ( mode & 0xff );
84 CDialog::OnInitDialog();
107 mCom.sendEtaModeRequest( mMode );
CEtaModeDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
#define cnt_of_array(_a)
The number of elements in _a.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
Serial communication controller for Garmin and FMI packets.
virtual ~CEtaModeDlg()
Destructor.
Modal dialog allowing the user to select an ETA mode for the device to operate in.
static CEtaModeDlg::mode_type mode_types[]
Mode types that the client accepts.
afx_msg void OnBnClickedSend()
Click handler for Send button.
BOOL OnInitDialog()
Initialize the dialog.