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

📄 bitmapwnd.h

📁 Bug管理系统
💻 H
字号:
#pragma once

// CBitmapWnd

// forward declarations
class CStroke;
namespace ATL {
     class CImage;
}

class CBitmapWnd : public CStatic
{
	//{{AFX_VIRTUAL(CBitmapWnd)
	//}}AFX_VIRTUAL

public:
	CBitmapWnd();
	virtual ~CBitmapWnd();
	void SetBitmap(HBITMAP);
	// get the annotated bitmap
	HBITMAP GetBitmap();
protected:
	HBITMAP m_hBitmap;
	CImage* m_pImg;
	int m_nX;
	int m_nY;
protected:
	// Generated message map functions
	//{{AFX_MSG(CBitmapWnd)
	afx_msg void OnPaint();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	CTypedPtrList<CObList,CStroke*> m_strokeList;
	CStroke* NewStroke();
	CPoint m_ptPrev;
	CStroke* m_pStrokeCur;
	CPen m_Pen;
	void DeleteStrokes();
};


⌨️ 快捷键说明

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