📄 animateicon.h
字号:
// AnimateIcon.h: interface for the CAnimateIcon class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ANIMATEICON_H__2B94B079_C70E_11D2_A578_00E04C677C3E__INCLUDED_)
#define AFX_ANIMATEICON_H__2B94B079_C70E_11D2_A578_00E04C677C3E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CAnimateIcon
{
protected :
// variable to hold the image list containing a series
// of icons
CImageList m_imgList;
// keep track of which image is current
int m_iImageCounter;
// store the max nos of images
int m_iMaxNoOfImages;
HICON hIcon;
HICON hPrevIcon ;
public:
CAnimateIcon();
virtual ~CAnimateIcon();
BOOL SetImageList(int IDOfImgListResource,int numberOfImages,COLORREF transparentColor);
BOOL ShowNextImage();
};
#endif // !defined(AFX_ANIMATEICON_H__2B94B079_C70E_11D2_A578_00E04C677C3E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -