10 #ifndef CManageCannedResponseDlg_H 11 #define CManageCannedResponseDlg_H 43 CDataExchange * aDataExchange
CString mResponseId
DDX member: the contents of the Response ID edit box.
afx_msg void OnLbnSelchangeResponselist()
Selection Changed handler for the Response List box.
afx_msg void OnCancel()
Handler for the Cancel action.
Dialog allowing the user to manage canned responses.
afx_msg void OnLbnKillfocusResponselist()
Handles the kill focus event for the Response List box.
void PostNcDestroy()
Called by MFC after the window has been destroyed; performs final termination activities.
int mSelectedResponseIndex
Index of the list box item currently selected.
afx_msg void OnBnClickedSend()
Button handler for the Send button.
afx_msg void OnEnSetfocusResponseEdit()
Handles the set focus event for the Response ID and Response Text edit boxes.
CManageCannedResponseDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
afx_msg void OnEnChangeRspBoxes()
Edit handler for the Response ID and Response Text boxes.
CString mResponseText
DDX member: the contents of the Response Text edit box.
Serial communication controller for Garmin and FMI packets.
void updateListBox()
Update the canned response list box from the canned response map owned by FmiApplicationLayer.
CListBox mListBox
List box control containing the canned responses.
EventListener that dispatches a Windows message.
afx_msg void OnBnClickedDelete()
Button handler for the Delete button.
afx_msg void OnEnKillfocusResponseEdit()
Handles the kill focus event for the Response ID and Response Text edit boxes.
virtual ~CManageCannedResponseDlg()
Destructor.
afx_msg void OnLbnSetfocusResponselist()
Handles the set focus event for the Response List.
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
BOOL OnInitDialog()
This function is called when the window is created.
afx_msg void OnBnClickedOk()
Button handler for the OK button.
afx_msg LPARAM OnCannedRespListChanged(WPARAM, LPARAM)
Handler for FMI_EVENT_CANNED_RESP_LIST_CHANGED event.