#include <MessageDlg.h>
Public Types | |
enum | { IDD = IDD_MESSAGE } |
Public Member Functions | |
MessageDlg (CWnd *pParent, UINT32 destination) | |
Constructor for sending a message. | |
MessageDlg (CWnd *pParent, RefCountBuffer msg, UINT32 msg_id, time_t time_to_reply) | |
Constructor for sending a reply. | |
MessageDlg (CWnd *pParent, RefCountBuffer reply) | |
Constructor for getting a reply. | |
virtual BOOL | Create () |
Data Fields | |
CString | m_Message |
CString | m_Reply |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual void | PostNcDestroy () |
virtual BOOL | OnInitDialog () |
virtual void | OnOK () |
afx_msg void | OnTimer (UINT nIDEvent) |
Private Types | |
enum | { TIME_FOR_REPLY_TIMER = 4 } |
Event ID for reply timer. | |
Private Attributes | |
CWnd * | m_pParent |
UINT32 | m_Destination |
UINT32 | m_MsgID |
MESSAGE_TYPE | m_MessageType |
CString | m_Caption |
time_t | m_TimeToReply |
The dialog represented by this class will be used to send messages, reply to recieved messages and accepting replies.
/notice Reply messages will have a timeout to be sent.