MainFrm.h
资源名称:ROA3.40.rar [点击查看]
上传用户:tianheyiqi
上传日期:2010-04-16
资源大小:282k
文件大小:2k
源码类别:
外挂编程
开发平台:
Visual C++
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__147FF5A6_C17C_4E59_AD89_CCA30120AA93__INCLUDED_)
- #define AFX_MAINFRM_H__147FF5A6_C17C_4E59_AD89_CCA30120AA93__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CROAView;
- #include "DlgMap.h"
- #include "DlgYou.h"
- #include "DlgEnv.h"
- #include "DlgChatLog.h"
- class CMainFrame : public CFrameWnd
- {
- public:
- // void RefreshAll();
- protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- void OnIconNotify( WPARAM wParam, LPARAM lParam );
- void OnKeyboard(WPARAM wParam, LPARAM lParam);
- // Attributes
- protected:
- // CExtMenuControlBar m_wndMenuBar;
- // CExtControlBar m_wndMapBar;
- // CExtWRB<CDlgMap> m_wndMapDlg;
- // CExtControlBar m_wndYouBar;
- // CExtWRB<CDlgYou> m_wndYouDlg;
- // CExtControlBar m_wndEnvBar;
- // CExtWRB<CDlgEnv> m_wndEnvDlg;
- // CExtControlBar m_wndChatBar;
- // CExtWRB<CDlgChatLog> m_wndChatDlg;
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- // CControlBar m_wndStatusBar;
- // CExtToolControlBar m_wndToolBar;
- // Generated message map functions
- protected:
- int ConnectToRo(void);
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnConnectRo();
- afx_msg void OnOptLog();
- afx_msg void OnClose();
- afx_msg void OnOptItempriority();
- afx_msg void OnReload();
- afx_msg void OnUpdateMiscSetting(CCmdUI* pCmdUI);
- afx_msg void OnUpdateMnuSettings(CCmdUI* pCmdUI);
- afx_msg void OnMnuEmotions();
- afx_msg void OnUpdateOptLog(CCmdUI* pCmdUI);
- afx_msg void OnMnuShortkey();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnMnuOption();
- afx_msg void OnMnuSettings();
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__147FF5A6_C17C_4E59_AD89_CCA30120AA93__INCLUDED_)