Main Page   Class Hierarchy   Data Structures   File List   Data Fields  

MessageDlg.h

00001 #ifndef __MESSAGEDLG_H__
00002 #define __MESSAGEDLG_H__
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 
00017 class MessageDlg : public CDialog
00018 {
00019 private:
00021         enum {
00022                 TIME_FOR_REPLY_TIMER = 4
00023         };
00024 public:
00026         MessageDlg(CWnd* pParent, UINT32 destination);
00027 
00029         MessageDlg(CWnd* pParent, RefCountBuffer msg, UINT32 msg_id, time_t time_to_reply);
00030 
00032         MessageDlg(CWnd* pParent, RefCountBuffer reply);
00033 
00034 // Dialog Data
00035         //{{AFX_DATA(MessageDlg)
00036         enum { IDD = IDD_MESSAGE };
00037         CString m_Message;
00038         CString m_Reply;
00039         //}}AFX_DATA
00040 
00041 
00042 // Overrides
00043         // ClassWizard generated virtual function overrides
00044         //{{AFX_VIRTUAL(MessageDlg)
00045         public:
00046         virtual BOOL Create();
00047         protected:
00048         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00049         virtual void PostNcDestroy();
00050         //}}AFX_VIRTUAL
00051 
00052 // Implementation
00053 protected:
00054 
00055         // Generated message map functions
00056         //{{AFX_MSG(MessageDlg)
00057         virtual BOOL OnInitDialog();
00058         virtual void OnOK();
00059         afx_msg void OnTimer(UINT nIDEvent);
00060         //}}AFX_MSG
00061         DECLARE_MESSAGE_MAP()
00062 
00063 private:
00064         CWnd                    *m_pParent;
00065         UINT32                  m_Destination;
00066         UINT32                  m_MsgID;
00067         MESSAGE_TYPE    m_MessageType;
00068         CString                 m_Caption;
00069         time_t                  m_TimeToReply;
00070 };
00071 
00072 //{{AFX_INSERT_LOCATION}}
00073 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00074 #endif // __MESSAGEDLG_H__

Generated on Sun Mar 2 01:48:11 2003 for Agent by doxygen1.3-rc3