drawtool.h
来自「《Visual C++视频技术方案宝典》配套光盘」· C头文件 代码 · 共 57 行
H
57 行
#if !defined(AFX_DRAWTOOL_H__742D0AE1_D472_4849_845F_4E071EA3E4A8__INCLUDED_)
#define AFX_DRAWTOOL_H__742D0AE1_D472_4849_845F_4E071EA3E4A8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DrawTool.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDrawTool window
class CDrawTool : public CToolBarCtrl
{
// Construction
public:
CDrawTool();
COLORREF m_TextColor;
COLORREF m_HotColor;
COLORREF m_LineColor;
COLORREF m_HotTextColor;
BOOL m_IsDraw;
void DrawButton(CDC *pDC, const RECT &rect, UINT uState);
void OnOwnerDraw( NMHDR * pNotifyStruct, LRESULT* pResult );
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrawTool)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDrawTool();
// Generated message map functions
protected:
//{{AFX_MSG(CDrawTool)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAWTOOL_H__742D0AE1_D472_4849_845F_4E071EA3E4A8__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?