?? textwnd.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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -