10 #ifndef CCannedTxtMsgDlg_H 11 #define CCannedTxtMsgDlg_H 40 CDataExchange * aDataExchange
void updateListBox()
Update the canned message list box from the canned message map owned by FmiApplicationLayer.
afx_msg void OnEnSetfocusMessageEdit()
Handles the set focus event for the Message ID and Message Text edit boxes.
int mSelectedIndex
The index of the selected item in the list of messages.
afx_msg void OnLbnSetfocusList()
Handles the set focus event for the Message List box.
afx_msg void OnLbnKillfocusMsgList()
Handles the kill focus event for the Message list box.
afx_msg void OnBnClickedOk()
Button handler for the OK button.
afx_msg void OnCancel()
Handler for the Cancel action.
CCannedTxtMsgDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
Dialog allowing the user to manage the list of canned messages on the client.
afx_msg void OnEnChangeEditBoxes()
Edit handler for the Message ID and Message Text boxes.
afx_msg void OnBnClickedDelete()
Handles the Delete button clicked event.
void PostNcDestroy()
Called by MFC after the window has been destroyed; performs final termination activities.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
afx_msg void OnLbnSelchangeMsglist()
Selection Changed handler for the Message List box.
CString mMessageText
The canned message text entered by the user.
afx_msg LPARAM OnCannedMsgListChanged(WPARAM, LPARAM)
Handler for the FMI_EVENT_CANNED_MSG_LIST_CHANGED event.
Serial communication controller for Garmin and FMI packets.
BOOL OnInitDialog()
Initialize the dialog.
EventListener that dispatches a Windows message.
FmiApplicationLayer & mCom
Reference to the communication layer.
CListBox mCannedMessageList
Listbox containing the canned messages on the client.
afx_msg void OnEnKillfocusMessageEdit()
Handles the kill focus event for the Message ID and Message Text edit boxes.
afx_msg void OnBnClickedSend()
Button handler for the Send button.
CString mMessageId
The canned message ID entered by the user.
virtual ~CCannedTxtMsgDlg()
[Brief description of the method]