bitmapwnd.h
来自「Bug管理系统」· C头文件 代码 · 共 46 行
H
46 行
#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 + =
减小字号Ctrl + -
显示快捷键?