?? bitmapwnd.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 + -