10 #ifndef CAobrdDriverShipmentsDlg_H 11 #define CAobrdDriverShipmentsDlg_H afx_msg void OnBnClickedSet()
Button handler for the Set button.
static BOOL ShowShipments(CWnd *aParent, AobrdDriverItem *driver)
Main entry point for showing the shipments editor.
COleDateTime mEndTimeTime
DDX member: the contents of the End Time Time control.
int mSelectedIndex
Index of the list box item currently selected.
CString mCommodity
DDX member: the contents of the Commodity edit box.
COleDateTime mStartTimeDate
DDX member: the contents of the Start Time Date control.
afx_msg void OnDateTimeCtrlKillFocus(NMHDR *pNotifyStruct, LRESULT *result)
Handles the kill focus event for date time controls.
afx_msg void OnLbnSelchangeShipmentList()
Selection Changed handler for the Shipments List box.
afx_msg void OnBnClickedNew()
Button handler for the New button.
virtual void DoDataExchange(CDataExchange *pDX)
Perform dialog data exchange and validation.
COleDateTime mEndTimeDate
DDX member: the contents of the End Time Date control.
void updateListBox()
Update the shipments list box from the list owned by the driver.
virtual ~CAobrdDriverShipmentsDlg()
Destructor.
COleDateTime mTimestampDate
DDX member: the contents of the Timestamp Date control.
BOOL OnInitDialog()
This function is called when the window is created.
COleDateTime mTimestampTime
DDX member: the contents of the Timestamp Time control.
COleDateTime mStartTimeTime
DDX member: the contents of the Start Time Time control.
afx_msg void OnEnKillfocusLoginEdit()
Handles the kill focus event for the driver ID and password edit boxes.
afx_msg void OnLbnSetfocusShipmentList()
Handles the set focus event for the driver list.
CString mDocumentNumber
DDX member: the contents of the Document Number edit box.
Data structure to holds an AOBRD driver info. Used by the FmiApplicationLayer to validate logins when...
void PostNcDestroy()
Called by MFC after the window has been destroyed; performs final termination activities.
AobrdDriverItem * mDriver
pointer to the driver whose shipments are being edited
afx_msg void OnEnSetfocusLoginEdit()
Handles the set focus event for the driver ID and password edit boxes.
afx_msg void OnBnClickedOk()
Button handler for the OK button.
CListBox mListBox
List box control containing the shipments.
CString mShipperName
DDX member: the contents of the Shipper Name edit box.
afx_msg void OnBnClickedDelete()
Button handler for the Delete button.
afx_msg void OnDateTimeCtrlSetFocus(NMHDR *pNotifyStruct, LRESULT *result)
Handles the set focus event for any date time ctrl.
CAobrdDriverShipmentsDlg(CWnd *aParent, AobrdDriverItem *aDriver)
Constructor.
afx_msg void OnCancel()
Handler for the Cancel action.
void clearData()
Clear values from the editable fields.
Dialog allowing the user to manage AOBRD driver shipments.
afx_msg void OnLbnKillfocusShipmentList()
Handles the kill focus event for the driver list.
afx_msg void OnChangeShipmentData()
Edit/Change handler for the shipment-specific data controls.