📄 datastatic.h
字号:
//this class uses to change the static int the programme ,incluing background color ,
//text color ,static and so on
//supply by cenivan ,2004,4,28
#if !defined(AFX_DATASTATIC_H__83FE25E0_AEF5_11D6_B97E_D6B7C56FD173__INCLUDED_)
#define AFX_DATASTATIC_H__83FE25E0_AEF5_11D6_B97E_D6B7C56FD173__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DataStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDataStatic window
class CDataStatic : public CStatic
{
// Construction
public:
CDataStatic();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDataStatic)
//}}AFX_VIRTUAL
// Implementation
public:
void OnFlushing(BOOL bFlush,int nStatus);
BOOL ResetBkColor(COLORREF clr);
BOOL ResetFont(int nSize,CString strFontName);
BOOL ResetTxColor(COLORREF clr);
virtual ~CDataStatic();
// Generated message map functions
protected:
void FlushPic();
LOGFONT m_lf;
COLORREF m_clrText;
CBrush m_bkBrush;
COLORREF m_clrBkgnd;
CFont m_font;
int m_nCounter;
BOOL m_bIsFlushing;
BOOL m_bFlushOn;
int m_nFlushStatus;
//{{AFX_MSG(CDataStatic)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DATASTATIC_H__83FE25E0_AEF5_11D6_B97E_D6B7C56FD173__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -