jwstatic.h

来自「evc实现」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_JWSTATIC_H__56BAF041_B411_40C4_9A32_FA4FC1487F06__INCLUDED_)
#define AFX_JWSTATIC_H__56BAF041_B411_40C4_9A32_FA4FC1487F06__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CJWStatic window

class CJWStatic : public CStatic
{
// Construction
public:
	CJWStatic();

protected:
	BOOL RollText();
	int     nRollTextCounter;
	int     nWindowLen;
	CString m_strText ;
	CString szText;
	CRect   rcClient; 
	int     iBmpLeft, iBmpTop;
	COLORREF m_crText;
// Attributes
public:

// Operations
public:

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

// Implementation
public:
	void SetTextColor(COLORREF crText);
	BOOL SetRollText();
	BOOL CreateByID(UINT nWndID, CWnd *hParent);
	virtual ~CJWStatic();

	// Generated message map functions
protected:
	CBitmap m_bkbmp;

	//{{AFX_MSG(CJWStatic)
	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_JWSTATIC_H__56BAF041_B411_40C4_9A32_FA4FC1487F06__INCLUDED_)

⌨️ 快捷键说明

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