text.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- #if !defined(AFX_TEXT_H__A3258F98_9928_43D2_95B7_DB830E708480__INCLUDED_)
- #define AFX_TEXT_H__A3258F98_9928_43D2_95B7_DB830E708480__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // text.h : header file
- //
- #include "Draw.h"
- /////////////////////////////////////////////////////////////////////////////
- // CText window
- class CText : public CDraw , public CEdit
- {
- public:
- CText( CDrawView * view );
- virtual ~CText( );
- virtual void LButtonDown( UINT nFlags , CPoint point );
- virtual void LButtonUp( UINT nFlags , CPoint point );
- virtual void MouseMove( UINT nFlags , CPoint point );
- virtual CDC * Draw( CDC * pDC = NULL );
- CString & GetText( void ){ return this->text; }
- void SetText( const char * text ){ this->text = text; }
- protected:
- //{{AFX_VIRTUAL(CText)
- virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- //{{AFX_MSG(CText)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CFont font;
- CString text;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TEXT_H__A3258F98_9928_43D2_95B7_DB830E708480__INCLUDED_)