?? coloredit.h
字號:
#if !defined(AFX_COLOREDIT_H__C8247F72_7333_4C97_9B7A_CAE5B7D21A22__INCLUDED_)
#define AFX_COLOREDIT_H__C8247F72_7333_4C97_9B7A_CAE5B7D21A22__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CColorEdit window
class CColorEdit : public CEdit
{
// Construction
public:
COLORREF m_FontColor; //字體顏色
COLORREF m_backgroundColor; //背景顏色
CBrush m_brush; //背景刷子對象
CColorEdit();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CColorEdit)
//}}AFX_VIRTUAL
// Implementation
public:
void SetBkColor(COLORREF crBkgnd);
void SetTextColor(COLORREF crText);
virtual ~CColorEdit();
// Generated message map functions
protected:
//{{AFX_MSG(CColorEdit)
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_COLOREDIT_H__C8247F72_7333_4C97_9B7A_CAE5B7D21A22__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -