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

# MainFrm.h

Go to the documentation of this file.

    00001 // MainFrm.h : interface of the CMainFrame class
    00002 //
    00003 /////////////////////////////////////////////////////////////////////////////
    00004
    00005 #if !defined(AFX_MAINFRM_H__81826319_8D02_4284_80C0_FB081B344A9E__INCLUDED_)
    00006 #define AFX_MAINFRM_H__81826319_8D02_4284_80C0_FB081B344A9E__INCLUDED_
    00007
    00008 #if _MSC_VER > 1000
    00009 #pragma once
    00010 #endif // _MSC_VER > 1000
    00011
    00012 #include "FlatSplitterWnd.h"
    00013 #include "MessageDiag.h"
    00014 #include "NetUsersDiag.h"
    00015
    00016 class CMainFrame : public CFrameWnd
    00017 {
    00018
    00019 public:
    00020     CMainFrame();
    00021 protected:
    00022     DECLARE_DYNAMIC(CMainFrame)
    00023
    00024 // Attributes
    00025 public:
    00026
    00027     CNetUsersDiag               m_wndNetUsers;
    00028     CMessageDiag                m_wndMessages;
    00029
    00030 // Operations
    00031 public:
    00032
    00033 // Overrides
    00034     // ClassWizard generated virtual function overrides
    00035     //{{AFX_VIRTUAL(CMainFrame)
    00036     public:
    00037     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
    00038     virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
    00039     protected:
    00040     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
    00041     //}}AFX_VIRTUAL
    00042
    00043 // Implementation
    00044 public:
    00045     virtual ~CMainFrame();
    00046 #ifdef _DEBUG
    00047     virtual void AssertValid() const;
    00048     virtual void Dump(CDumpContext& dc) const;
    00049 #endif
    00050
    00051 protected:  // control bar embedded members
    00052     CFlatSplitterWnd    m_wndSplitter;
    00053     CStatusBar          m_wndStatusBar;
    00054
    00055 // Generated message map functions
    00056 protected:
    00057     //{{AFX_MSG(CMainFrame)
    00058     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    00059     afx_msg void OnSetFocus(CWnd *pOldWnd);
    00060     //}}AFX_MSG
    00061     DECLARE_MESSAGE_MAP()
    00062 };
    00063
    00064 /////////////////////////////////////////////////////////////////////////////
    00065
    00066 //{{AFX_INSERT_LOCATION}}
    00067 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
    00068
    00069 #endif // !defined(AFX_MAINFRM_H__81826319_8D02_4284_80C0_FB081B344A9E__INCLUDED_)