📄 indicbutton.h
字号:
#if !defined(AFX_INDICBUTTON_H__425C1381_EF7D_11D7_A019_9806402060C0__INCLUDED_)
#define AFX_INDICBUTTON_H__425C1381_EF7D_11D7_A019_9806402060C0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// IndicButton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CIndicButton window
class CIndicButton : public CXTButton
{
// Construction
public:
CIndicButton();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIndicButton)
//}}AFX_VIRTUAL
// Implementation
public:
COLORREF m_clrOld;
BOOL m_bAuto;
void EnableAuto(BOOL bAuto);
BOOL m_bRunning;
void SetIndicator(BOOL bRunning);
CString m_strAutoFace;
CString m_strOldFace;
BOOL m_bIndicator;
UINT m_idRunIco;
UINT m_idStaticIco;
BOOL m_bEnAuto;
BOOL m_bUse;
void InitButton(CWnd* pWnd,BOOL bEnAuto=FALSE,BOOL bIndicator=FALSE,
UINT idStaticIco=0,UINT idRunIco=0);
virtual ~CIndicButton();
// Generated message map functions
protected:
//{{AFX_MSG(CIndicButton)
afx_msg void OnRButtonUp(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_INDICBUTTON_H__425C1381_EF7D_11D7_A019_9806402060C0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -