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

📄 select.h

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

#if !defined(AFX_SELECT_H__6363F6D2_7FBB_4F1B_8504_AD316A4B5233__INCLUDED_)
#define AFX_SELECT_H__6363F6D2_7FBB_4F1B_8504_AD316A4B5233__INCLUDED_

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

#include "DrawBase.h"

class CSelect : public CDrawBase  
{
public:
	         CSelect( CDrawView & v );

	virtual ~CSelect();

	virtual  HCURSOR GetCursor( void );

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

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

	HBITMAP  GetBitmap( void ){ return this->bitmap; }

protected:

	void      CreateBitmap( void );

	virtual   void OnDraw( CDC * pDC );

	virtual   void OnLButtonDown( UINT nFlags, CPoint point );

	virtual   void OnMouseMove( UINT nFlags, CPoint point );

	virtual   void OnLButtonUp( UINT nFlags, CPoint point );

private:

	CPoint   bitmap_point;
	
	CBitmap  bitmap;

	CRgn  rgn;
};

#endif // !defined(AFX_SELECT_H__6363F6D2_7FBB_4F1B_8504_AD316A4B5233__INCLUDED_)

⌨️ 快捷键说明

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