editex.h

来自「这是一个VC++的程序员实用大全精华版」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_EDITEX_H__B6600250_CEEB_11D4_85E3_00A0CC253EAC__INCLUDED_)
#define AFX_EDITEX_H__B6600250_CEEB_11D4_85E3_00A0CC253EAC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditEx.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CEditEx window

class CEditEx : public CEdit
{
// Construction
public:
    CEditEx();

// Attributes
public:

// Operations
public:

// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CEditEx)
    //}}AFX_VIRTUAL

// Implementation
public:
    virtual ~CEditEx();

    virtual COLORREF SetBackColor (COLORREF cr);
    virtual COLORREF SetTextColor (COLORREF cr);
    virtual COLORREF GetBackColor ();
    virtual COLORREF GetTextColor ();

    // Generated message map functions
protected:
    //{{AFX_MSG(CEditEx)
    afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
    //}}AFX_MSG

    COLORREF  m_clrText;
    COLORREF  m_clrBkgnd;
    CBrush    m_brBkgnd;

   DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EDITEX_H__B6600250_CEEB_11D4_85E3_00A0CC253EAC__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?