Garmin Fleet Management Controller
2.19.0
|
Modal dialog allowing the user to request the status of a server to client text message. More...
#include <CTxtMsgDeleteRequestDlg.h>
Public Member Functions | |
CTxtMsgDeleteRequestDlg (CWnd *aParent, FmiApplicationLayer &aCom) | |
Constructor. More... | |
virtual | ~CTxtMsgDeleteRequestDlg () |
Destructor. More... | |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *aDataExchange) |
Perform dialog data exchange and validation. More... | |
afx_msg void | OnBnClickedOk () |
Click handler for the OK button. More... | |
afx_msg void | OnEnChangeEditMsgId () |
Edit Change handler for Message ID text box. More... | |
BOOL | OnInitDialog () |
Initialize the dialog. More... | |
Protected Attributes | |
FmiApplicationLayer & | mCom |
Reference to the FMI communication controller. More... | |
CString | mMessageId |
Message ID entered by the user. More... | |
Modal dialog allowing the user to request the status of a server to client text message.
Definition at line 22 of file CTxtMsgDeleteRequestDlg.h.
CTxtMsgDeleteRequestDlg::CTxtMsgDeleteRequestDlg | ( | CWnd * | aParent, |
FmiApplicationLayer & | aCom | ||
) |
Constructor.
aParent | The parent of this dialog |
aCom | Reference to the FMI communication controller |
Definition at line 28 of file CTxtMsgDeleteRequestDlg.cpp.
|
virtual |
|
protectedvirtual |
Perform dialog data exchange and validation.
aDataExchange | The DDX context |
Definition at line 50 of file CTxtMsgDeleteRequestDlg.cpp.
References IDC_MSGDEL_EDIT_MSG_ID, and mMessageId.
Referenced by ~CTxtMsgDeleteRequestDlg().
|
protected |
Click handler for the OK button.
Sends a Text Message Status Request to the client based on the input entered by the user. If the message ID entered begins with 0x, the MessageId constructor will interpret it as hexadecimal.
Definition at line 97 of file CTxtMsgDeleteRequestDlg.cpp.
References FmiApplicationLayer::mClientCodepage, mCom, mMessageId, FmiApplicationLayer::sendMessageDeleteRequest(), and TRUE.
|
protected |
Edit Change handler for Message ID text box.
Enables OK button if the message ID is not empty; disables OK button otherwise.
Definition at line 77 of file CTxtMsgDeleteRequestDlg.cpp.
References FALSE, mMessageId, and TRUE.
|
protected |
Initialize the dialog.
This function is called when the window is created. It sets up the parent, so it can get info from and send a message to FmiApplicationLayer.
Definition at line 65 of file CTxtMsgDeleteRequestDlg.cpp.
References TRUE.
|
protected |
Reference to the FMI communication controller.
Definition at line 47 of file CTxtMsgDeleteRequestDlg.h.
Referenced by OnBnClickedOk().
|
protected |
Message ID entered by the user.
Definition at line 50 of file CTxtMsgDeleteRequestDlg.h.
Referenced by DoDataExchange(), OnBnClickedOk(), and OnEnChangeEditMsgId().