📄 skintoolbar.h
字号:
#if !defined(AFX_SKINTOOLBAR_H__6DB4E733_2851_4C9E_B481_0A63C974C4C0__INCLUDED_)
#define AFX_SKINTOOLBAR_H__6DB4E733_2851_4C9E_B481_0A63C974C4C0__INCLUDED_
#include "EnBitmap.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SkinToolBar.h : header file
//
#include "SkinButton.h"
#include "SkinStatic.h"
/////////////////////////////////////////////////////////////////////////////
// CSkinToolBar window
class CSkinToolBar : public CSkinStatic
{
// Construction
public:
CSkinToolBar();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSkinToolBar)
//}}AFX_VIRTUAL
// Implementation
public:
COLORREF m_crText;
void SetTextColor(COLORREF cr){m_crText=cr;}
void SetBasicCommands(CList<UINT, UINT> <Conmmand);
BOOL m_bShow;
CEnBitmap m_bmpToolBar;
CPtrList m_ptButton;
CArray <CRect,CRect&> m_rcButton;
CList<UINT, UINT> m_ltCommands;
int nSelectedButton;
void RecalcLayout();
virtual ~CSkinToolBar();
BOOL LoadTBImage(UINT uIDRes,COLORREF crBack);
void SetSizes( SIZE sizeButton, SIZE sizeImage );
// Generated message map functions
protected:
//{{AFX_MSG(CSkinToolBar)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SKINTOOLBAR_H__6DB4E733_2851_4C9E_B481_0A63C974C4C0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -