10 #ifndef CTxtMsgNewDlg_H 11 #define CTxtMsgNewDlg_H 52 #if( FMI_SUPPORT_A611 ) 56 #if( FMI_SUPPORT_A604 ) 60 #if( FMI_SUPPORT_A602 ) 65 #if( FMI_SUPPORT_LEGACY ) 66 LEGACY_TEXT_MESSAGE_PROTOCOL,
74 CDataExchange * aDataExchange
BOOL OnInitDialog()
Initialize the dialog.
void updateDlgFields(int aSelectedProtocol)
Enable/disable controls as appropriate for the selected protocol.
int MessageProtocolType
Typedef for message protocols listed in the combo box.
MessageProtocolType mMessageProtocol
Index of the selected message protocol.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
virtual ~CTxtMsgNewDlg()
Destructor.
afx_msg void OnCbnSelChangeMsgProtocol()
Selection Changed handler for the Protocol combo box.
afx_msg void OnBnClickedOk()
Click handler for the OK button.
FmiApplicationLayer & mCom
Pointer to the main app dialog.
CTxtMsgNewDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
Serial communication controller for Garmin and FMI packets.
uint8 mMessageType
Value to use on the message_type member of the A604 text message.
MessageProtocolEnum
Enum for message protocols.
unsigned char uint8
8-bit unsigned integer
afx_msg void OnEnChangeEditFields()
Edit Change handler for all edit boxes on the dialog.
BOOL mDisplayImmediately
If TRUE, the "Display Immediately" box is checked.
CString mMessageText
Contents of the Message Text edit box.
CString mMessageId
Contents of the Message ID edit box.
Modal dialog allowing the user to send a text message to the client.