?? sbutton.h
字號:
#if !defined(AFX_SBUTTON_H__99FFBDF7_B511_4A77_B269_8A8689CB928B__INCLUDED_)
#define AFX_SBUTTON_H__99FFBDF7_B511_4A77_B269_8A8689CB928B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define ID_RED 2001
#define ID_GREEN 2002
// Sbutton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSbutton window
class CSbutton : public CStatic
{
// Construction
public:
CSbutton();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSbutton)
//}}AFX_VIRTUAL
// Implementation
public:
CFont m_font;
void Drawed(CWnd *pWnd , int bg_color_ref, CString str);
void Set(CWnd *pWnd , int bg_color_ref, CString str);
BOOL bActive;
CString m_str;
virtual ~CSbutton();
// Generated message map functions
protected:
CWnd * m_pWnd;
RECT rc;
int BG_COLOR_REF;
// CPen m_PenBright;
CBrush m_Brush;
//{{AFX_MSG(CSbutton)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SBUTTON_H__99FFBDF7_B511_4A77_B269_8A8689CB928B__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -