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

📄 character_motionview.h

📁 设置文字使文字在屏幕是运动,当运动到最右边,则另起一行重新运动
💻 H
字号:
// character_motionView.h : interface of the CCharacter_motionView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHARACTER_MOTIONVIEW_H__9E10DECA_9228_4657_ACCB_C3D4692C09CF__INCLUDED_)
#define AFX_CHARACTER_MOTIONVIEW_H__9E10DECA_9228_4657_ACCB_C3D4692C09CF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CCharacter_motionView : public CView
{
protected: // create from serialization only
	CCharacter_motionView();
	DECLARE_DYNCREATE(CCharacter_motionView)

// Attributes
public:
	CCharacter_motionDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCharacter_motionView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCharacter_motionView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CCharacter_motionView)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnCancelMode();
	afx_msg void OnStart();
	afx_msg void OnStop();
	afx_msg void OnPause();
	afx_msg void OnSpeed();
	afx_msg void OnRange();
	afx_msg void OnSetfont();
	afx_msg void OnSetstring();
	afx_msg void OnSetColor();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	UINT m_timer;
	COLORREF color;
	int x,y;
	LOGFONT lf;
	CString name;
	int xx1,xx2;
	int yy1,yy2;
	int s;
	long w,h;
};

#ifndef _DEBUG  // debug version in character_motionView.cpp
inline CCharacter_motionDoc* CCharacter_motionView::GetDocument()
   { return (CCharacter_motionDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_CHARACTER_MOTIONVIEW_H__9E10DECA_9228_4657_ACCB_C3D4692C09CF__INCLUDED_)

⌨️ 快捷键说明

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