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

📄 anibutton.h

📁 这是一个在PC上的电机控制软件
💻 H
字号:
#if !defined(AFX_ANIBUTTON_H__7FF39864_4EA5_4632_8FB2_C6005207108C__INCLUDED_)
#define AFX_ANIBUTTON_H__7FF39864_4EA5_4632_8FB2_C6005207108C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CAniButton window

class CAniButton : public CButton
{
// Construction
public:
	CAniButton();

// Attributes
public:
BOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

// Operations
public:
	UINT m_nAniID;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAniButton)
	//}}AFX_VIRTUAL

// Implementation
public:
	void LoadAVI(UINT nAniID);
	
	virtual ~CAniButton();

	// Generated message map functions
protected:
	void OnMouseMove(UINT nFlags, CPoint point);
	void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	void DrawButton(CDC* pDC, UINT nState, CRect rect);
	BOOL m_bPlaying;
	CAnimateCtrl m_AnimateCtrl;
	//{{AFX_MSG(CAniButton)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_ANIBUTTON_H__7FF39864_4EA5_4632_8FB2_C6005207108C__INCLUDED_)

⌨️ 快捷键说明

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