custombar.h
来自「用VC++操作数据库」· C头文件 代码 · 共 42 行
H
42 行
#if !defined(AFX_CUSTOMBAR_H__C6107326_7F30_4CAE_8E03_F9F63EC0A9EF__INCLUDED_)
#define AFX_CUSTOMBAR_H__C6107326_7F30_4CAE_8E03_F9F63EC0A9EF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CustomBar.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCustomBar window
class CCustomBar : public CToolBarCtrl
{
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCustomBar)
public:
virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
//}}AFX_VIRTUAL
// Implementation
public:
void DoMouseLeave();
void DoMouseMove(int strid);
CCustomBar();
virtual ~CCustomBar();
// Generated message map functions
protected:
int m_ButtonCount; //记录工具栏中的按钮数
CImageList* imagelist;
//{{AFX_MSG(CCustomBar)
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CUSTOMBAR_H__C6107326_7F30_4CAE_8E03_F9F63EC0A9EF__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?