⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 text.h

📁 电子白板程序
💻 H
字号:
// Text.h: interface for the CText class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TEXT_H__6738E912_238E_41B9_8E1A_503EF50ABC34__INCLUDED_)
#define AFX_TEXT_H__6738E912_238E_41B9_8E1A_503EF50ABC34__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DrawBase.h"

class CText : public CDrawBase  
{
public:
	         CText( CDrawView & view );

	virtual ~CText();

	virtual  CDrawBase * Clone( void );

	virtual  bool Select( CRect & rc );

	virtual  HCURSOR GetCursor( void );

	virtual  char * Encode( int & size , bool erase = false );

	virtual  bool  Decode( char * buffer , int size );

protected:

	static LRESULT CALLBACK WindowProc(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam);

	virtual   void OnLButtonDown( UINT nFlags, CPoint point );

	virtual   void OnMouseMove( UINT nFlags, CPoint point );

	virtual   void OnLButtonUp( UINT nFlags, CPoint point );

	virtual   void OnDraw( CDC * pDC );

private:

	CString  text;

	static   CEdit edit;
};

#endif // !defined(AFX_TEXT_H__6738E912_238E_41B9_8E1A_503EF50ABC34__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -