Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# messagediag.h

Go to the documentation of this file.

    00001 #if !defined(AFX_MESSAGEDIAG_H__ACB93D89_5583_43E6_B5DD_0F00497B1ACF__INCLUDED_)
    00002 #define AFX_MESSAGEDIAG_H__ACB93D89_5583_43E6_B5DD_0F00497B1ACF__INCLUDED_
    00003
    00004 #if _MSC_VER > 1000
    00005 #pragma once
    00006 #endif // _MSC_VER > 1000
    00007 // MessageDiag.h : header file
    00008 //
    00009
    00010 // uncomment this out to show all messages generating within deNet.dll
    00011 // #define DN_SHOW_ALL_MESSAGES
    00012
    00013 /////////////////////////////////////////////////////////////////////////////
    00014 // CMessageDiag form view
    00015
    00016 #ifndef __AFXEXT_H__
    00017 #include <afxext.h>
    00018 #endif
    00019
    00020 class CMessageDiag : public CFormView
    00021 {
    00022
    00023 public:
    00024     CMessageDiag();           // protected constructor used by dynamic creation
    00025     DECLARE_DYNCREATE(CMessageDiag)
    00026
    00027 // Form Data
    00028 public:
    00029     //{{AFX_DATA(CMessageDiag)
    00030     enum { IDD = IDD_DIAG_MESSAGES };
    00031     CXListCtrl  m_lstMessages;
    00032     CImageList  m_imgMessages;
    00033     //}}AFX_DATA
    00034
    00035 // Attributes
    00036 public:
    00037
    00038 // Operations
    00039 public:
    00040
    00041     bool        AddMessage( const char * pText );
    00042     void        ClearMessages( void );
    00043
    00044     static CMessageDiag *   GetWin( void )  { return m_Singleton; }
    00045
    00046 // Overrides
    00047     // ClassWizard generated virtual function overrides
    00048     //{{AFX_VIRTUAL(CMessageDiag)
    00049     public:
    00050     virtual void OnInitialUpdate();
    00051     protected:
    00052     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    00053     //}}AFX_VIRTUAL
    00054
    00055 // Implementation
    00056 public:
    00057     virtual ~CMessageDiag();
    00058 protected:
    00059 #ifdef _DEBUG
    00060     virtual void AssertValid() const;
    00061     virtual void Dump(CDumpContext& dc) const;
    00062 #endif
    00063
    00064     // Generated message map functions
    00065     //{{AFX_MSG(CMessageDiag)
    00066     afx_msg void OnSize(UINT nType, int cx, int cy);
    00067     //}}AFX_MSG
    00068     DECLARE_MESSAGE_MAP()
    00069
    00070     static CMessageDiag * m_Singleton;
    00071 };
    00072
    00073 /////////////////////////////////////////////////////////////////////////////
    00074
    00075 //{{AFX_INSERT_LOCATION}}
    00076 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
    00077
    00078 #endif // !defined(AFX_MESSAGEDIAG_H__ACB93D89_5583_43E6_B5DD_0F00497B1ACF__INCLUDED_)