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 <CTxtMsgStatusRequestDlg.h>
Public Member Functions | |
CTxtMsgStatusRequestDlg (CWnd *aParent, FmiApplicationLayer &aCom) | |
Constructor. More... | |
virtual | ~CTxtMsgStatusRequestDlg () |
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 that this dialog uses. 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 20 of file CTxtMsgStatusRequestDlg.h.
CTxtMsgStatusRequestDlg::CTxtMsgStatusRequestDlg | ( | CWnd * | aParent, |
FmiApplicationLayer & | aCom | ||
) |
Constructor.
aParent | The parent of this dialog |
aCom | Reference to the FMI communication controller |
Definition at line 28 of file CTxtMsgStatusRequestDlg.cpp.
|
virtual |
|
protectedvirtual |
Perform dialog data exchange and validation.
aDataExchange | The DDX context |
Definition at line 50 of file CTxtMsgStatusRequestDlg.cpp.
References IDC_STATUSREQ_EDIT_MSG_ID, and mMessageId.
Referenced by ~CTxtMsgStatusRequestDlg().
|
protected |
Click handler for the OK button.
Sends a Text Message Status Request to the client based on the input entered by the user.
Definition at line 95 of file CTxtMsgStatusRequestDlg.cpp.
References FmiApplicationLayer::mClientCodepage, mCom, mMessageId, FmiApplicationLayer::sendTextMessageStatusRequest(), 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 CTxtMsgStatusRequestDlg.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 CTxtMsgStatusRequestDlg.cpp.
References TRUE.
|
protected |
Reference to the FMI communication controller that this dialog uses.
Definition at line 44 of file CTxtMsgStatusRequestDlg.h.
Referenced by OnBnClickedOk().
|
protected |
Message ID entered by the user.
Definition at line 47 of file CTxtMsgStatusRequestDlg.h.
Referenced by DoDataExchange(), OnBnClickedOk(), and OnEnChangeEditMsgId().