MainFrm.h
资源名称:(vc).rar [点击查看]
上传用户:wpp2016
上传日期:2010-02-01
资源大小:1250k
文件大小:3k
源码类别:
Telnet服务器
开发平台:
Visual C++
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__42C9BC6A_EF6C_11D3_9E45_00A0C936C4B3__INCLUDED_)
- #define AFX_MAINFRM_H__42C9BC6A_EF6C_11D3_9E45_00A0C936C4B3__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "visualfx.h"//自定义的框架类
- //#include "MyBarBottom.h"//下面的状态蓝
- //#include "msgman.h"
- #include "ooextoolbar.hpp"
- #ifndef MFCX_PROJ
- #define MFCX_PROJ
- #define AUTO_SUBCLASS
- #include <cj60lib.h>
- #endif
- //class CMsgman;
- //#define WM_SETACTIVE WM_USER+100
- class CAnywhereDoc;
- //class CTalkSocket;
- class CMainFrame : public CFrameWnd
- {
- protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- // Attributes
- public:
- TVisualFramework m_Framework;
- TVisualObject *pObject;
- CAnywhereDoc *m_pDoc;
- //CAnywhereDoc *
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void ActivateFrame(int nCmdShow = -1);
- protected:
- virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void Msginit();
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- CStatusBar m_wndStatusBar;
- //CToolBar m_wndToolBar;
- COOBmpToolBar m_wndToolBar;
- CReBar m_wndReBar;
- CDialogBar m_wndDlgBar;
- CTabCtrlBar m_wndWorkspace;
- CImageList m_ImageList;
- CImageList m_TabImageList;
- //CMyBarBottom m_wndOutput;
- CFont m_Font;
- BOOL bFirst;
- // Generated message map functions
- protected:
- int Respones(CString &text);
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg LRESULT OnSetActive(WPARAM wParam,LPARAM lParam);
- afx_msg void OnViewscr();
- afx_msg void OnGetinfo();
- afx_msg void OnOption();
- afx_msg void OnSitebook();
- afx_msg void OnDisconnect();
- afx_msg void OnUpdateDisconnect(CCmdUI* pCmdUI);
- afx_msg void OnUpdateGetinfo(CCmdUI* pCmdUI);
- afx_msg void OnUpdateListfile(CCmdUI* pCmdUI);
- afx_msg void OnUpdateViewscr(CCmdUI* pCmdUI);
- afx_msg void OnClose();
- afx_msg void OnUpdateOption(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__42C9BC6A_EF6C_11D3_9E45_00A0C936C4B3__INCLUDED_)