📄 jwstatic.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -