10 #ifndef CDriverLoginDlg_H 11 #define CDriverLoginDlg_H 42 CDataExchange * aDataExchange
afx_msg void OnLbnSelchangeDriverList()
Selection Changed handler for the Driver List box.
BOOL OnInitDialog()
This function is called when the window is created.
afx_msg void OnBnClickedOk()
Button handler for the OK button.
CDriverLoginDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
afx_msg void OnLbnKillfocusDriverList()
Handles the kill focus event for the driver list.
afx_msg void OnBnClickedDelete()
Button handler for the Delete button.
afx_msg void OnBnClickedSet()
Button handler for the Set button.
virtual ~CDriverLoginDlg()
Destructor.
afx_msg void OnEnKillfocusLoginEdit()
Handles the kill focus event for the driver ID and password edit boxes.
int mSelectedIndex
Index of the list box item currently selected.
CString mDriverPassword
DDX member: the contents of the Driver Password edit box.
afx_msg void OnEnChangeEditBoxes()
Edit handler for the Driver ID and Driver Password boxes.
CString mDriverId
DDX member: the contents of the Driver ID edit box.
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
CListBox mListBox
List box control containing the canned responses.
Serial communication controller for Garmin and FMI packets.
afx_msg void OnEnSetfocusLoginEdit()
Handles the set focus event for the driver ID and password edit boxes.
afx_msg void OnCancel()
Handler for the Cancel action.
void updateListBox()
Update the canned response list box from the canned response map owned by FmiApplicationLayer.
afx_msg void OnLbnSetfocusDriverList()
Handles the set focus event for the driver list.
Dialog allowing the user to manage canned responses.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
void PostNcDestroy()
Called by MFC after the window has been destroyed; performs final termination activities.