MainFrame.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:2k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- #if !defined(AFX_MAINFRAME_H__11CEDAA7_AA98_47A3_86DD_30F1BDC0B80B__INCLUDED_)
- #define AFX_MAINFRAME_H__11CEDAA7_AA98_47A3_86DD_30F1BDC0B80B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MainFrame.h : header file
- //
- #include "MyDialogBar.h"
- #include "MyReBar.h"
- #include "DrawView.h"
- #include "ColorCtrl.h"
- #include "LineCtrl.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMainFrame frame
- class CMainFrame : public CFrameWnd
- {
- public:
- CMainFrame( );
- virtual ~CMainFrame( );
- CDrawView * GetView( void ){ return this->view; }
- CMyDialogBar & GetToolBar( void ){ return this->toolBar; }
- protected:
- //初始化工具条
- void InitTool( void );
- //初始化颜色条
- void InitColor( void );
- //{{AFX_VIRTUAL(CMainFrame)
- protected:
- virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- //工具选择
- afx_msg void OnTool( UINT id );
- //颜色选择
- afx_msg void OnColor( UINT id );
- //线条选择
- afx_msg void OnLine( void );
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- //工具条对话框
- CMyReBar reToolBar;
- CMyDialogBar toolBar;
- //颜色条对话框
- CMyReBar rcColorBar;
- CMyDialogBar colorBar;
- //线条控制类
- CLineCtrl linectrl;
- //颜色控制类
- CColorCtrl curClrCtrl;
- //颜色控制类
- CColorCtrl clrCtrl[ 28 ];
- //画图面板
- CDrawView * view;
- //光标形状
- HCURSOR cArrow;
- HCURSOR cErase;
- HCURSOR cLock;
- HCURSOR cPen;
- HCURSOR cPen1;
- HCURSOR cBeam;
- HCURSOR cCross;
- //选择窗口
- bool m_bWnd;
- bool m_bRgn;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRAME_H__11CEDAA7_AA98_47A3_86DD_30F1BDC0B80B__INCLUDED_)