Main Page   Class Hierarchy   Data Structures   File List   Data Fields  

MessageDlg Class Reference

This is the dialog class for sending and recieving messages. More...

#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


Detailed Description

This is the dialog class for sending and recieving messages.

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.


The documentation for this class was generated from the following file:
Generated on Sun Mar 2 01:48:12 2003 for Agent by doxygen1.3-rc3