📄 movestatic.h
字号:
#ifndef _MOVESTATIC_H_
#define _MOVESTATIC_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MoveStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////////
class CMoveStatic : public CStatic
{
// Construction
public:
CMoveStatic();
// Attributes
public:
#define DISPLAY_TIMER_ID 150 // timer id
CRect m_ScrollRect,r; // rect of Static Text frame
int nArrIndex,nCounter; // work ints
CString m_szWork; // holds display line
BOOL m_bFirstTime;
BOOL m_bDrawText;
int nClip;
int nCurrentFontHeight;
CBitmap m_bmpWork; // bitmap holder
CBitmap* pBmpOld; // other bitmap work members
CBitmap* m_bmpCurrent;
HBITMAP m_hBmpOld;
CSize m_size; // drawing helpers
CPoint m_pt;
BITMAP m_bmpInfo;
CDC m_dcMem;
BOOL m_bProcessingBitmap;
CStringArray m_arArrCredit;
// Operations
public:
void Init();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMoveStatic)
public:
virtual BOOL DestroyWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMoveStatic();
// Generated message map functions
protected:
//{{AFX_MSG(CMoveStatic)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -