41 bool Open(HINSTANCE hInstance,
int resourceId);
48 bool Open(
const std::wstring &fileName);
55 bool Open(
const wchar_t *fileName);
64 bool Play(
int times,
int beginFrame,
int endFrame);
动画控件,仅支持无音频的avi动画
Definition Animation.h:12
bool Play(int times=-1)
播放动画
const Property< bool > AutoPlay
是否在打开avi文件后自动播放
Definition Animation.h:22
bool Open(const std::wstring &fileName)
从本地文件打开avi动画
const ReadOnlyProperty< bool > IsPlaying
动画是否正在播放
Definition Animation.h:27
bool Open(const wchar_t *fileName)
从本地文件打开avi动画,传入nullptr可以关闭打开的动画
const Property< bool > Center
是否将动画居中显示
Definition Animation.h:17
bool Open(HINSTANCE hInstance, int resourceId)
从指定模块中打开avi动画
bool Play(int times, int beginFrame, int endFrame)
播放动画
控件
Definition Control.h:12
属性
Definition Property.h:1743
只读属性
Definition Property.h:1828