colorstatic.h
来自「通过vc语言从任意一个文件夹的读出文件名和路径操作的程序」· C头文件 代码 · 共 53 行
H
53 行
#if !defined(AFX_COLORSTATIC_H__A31C3A8C_09FD_4296_80B9_527FE7AEC7E0__INCLUDED_)
#define AFX_COLORSTATIC_H__A31C3A8C_09FD_4296_80B9_527FE7AEC7E0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CColorStatic window
class CColorStatic : public CStatic
{
// Construction
public:
CColorStatic();
// Attributes
public:
// Operations
public:
void SetTextColor(COLORREF crTextColor);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CColorStatic)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CColorStatic();
// Generated message map functions
protected:
//{{AFX_MSG(CColorStatic)
afx_msg void OnPaint();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
COLORREF m_crTextColor;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COLORSTATIC_H__A31C3A8C_09FD_4296_80B9_527FE7AEC7E0__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?