⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textwnd.h

📁 数据结构的代码演示程序
💻 H
字号:
#ifndef   __TextWnd_h
#define   __TextWnd_h


// TextWnd.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTextWnd window

class CTextWnd : public CWnd
{
protected:
    int m_IDC;
protected:
    COLORREF   m_BK_Color, m_HI_BColor, m_Text_Color, m_HI_TColor;
	UINT       m_X_Blank;
	UINT       m_X_Start, m_Blank_Num;
	UINT       m_Y;
	UINT       m_Width, m_Heigh;
	CString    m_Blank_String;
	CBrush     *m_Brush;
    CRect      m_Origin_Rect;

// Construction
public:
	CTextWnd(int IDC);
	int        m_Sentence_num;
	CString    m_Sentence[50];
	char       m_Sentence_Flag[50];   //'L'亮, 'A'暗
	CSize      m_Size;
	BOOL       m_ResetWnd;
	char       m_Pos_Flag[6];

// Attributes
public:
	void	SetTextWnd();
	
// Operations
public:
	/*display a window picture */
	
protected:
    /* set picture display header*/

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTextWnd)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTextWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CTextWnd)
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
#endif

⌨️ 快捷键说明

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