表单状态栏中的动画图标? [英] animated icon in status bar of form?

查看:76
本文介绍了表单状态栏中的动画图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在表单的状态栏上放置自定义动画图标?我有一个名为icon.ani的

动画图标文件,我试图获得

''statusbar1.Animate''工作没有成功。有人可以给我一些

指针吗?


谢谢,


Flashster

解决方案

" Flashster" < FL *********** @ hotmail.com> schrieb:

如何在表单的状态栏上放置自定义动画图标?我有一个名为icon.ani的
动画图标文件,我已经尝试过
''statusbar1.Animate''工作没有成功。



什么'''statusbar1.Animate''? ''StatusBar''班级没有

''Animate''方法。


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org / petition />


对不起,你再次对了。我在那里感到很困惑。


那么我该如何添加一个动画图标 - 它允许将.ico文件放在面板中但不是。 avi或.ani?


我是否覆盖状态面板的绘图路线?

" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

news:uX **************** @ TK2MSFTNGP12.phx.gbl ...

" Flashster" ; < FL *********** @ hotmail.com> schrieb:

如何在表单的状态栏上放置自定义动画图标?我有一个名为icon.ani的动画图标文件,我已经尝试过
''statusbar1.Animate''工作没有成功。


什么'''statusbar1.Animate''? ''StatusBar''班级没有
''Animate''方法。

- MS Herfried K. Wagner
MVP<网址:http://dotnet.mvps.org/>
VB< URL:http://classicvb.org/petition/>


" Flashster" < FL *********** @ hotmail.com> schrieb:

那么我该如何添加一个动画图标 - 它允许将.ico文件放在面板中但是不能.avi或.ani?




您可以使用计时器控件定期更改图标。


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org/petition/>


How do I put a custom animated icon on the status bar of a form? I have an
animated icon file called icon.ani, and I''ve tried getting
''statusbar1.Animate'' to work with no success. Can someone give me some
pointers please?

Thanks,

Flashster

解决方案

"Flashster" <fl***********@hotmail.com> schrieb:

How do I put a custom animated icon on the status bar of a form? I have an
animated icon file called icon.ani, and I''ve tried getting
''statusbar1.Animate'' to work with no success.



What''s ''statusbar1.Animate''? The ''StatusBar'' class doesn''t have an
''Animate'' method.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Sorry you''re right again. I got confused there.

So how do I go about adding an animated icon - it allows .ico files to be
placed in a panel but not.avi or .ani?

Do I override the drawing routing for the status panel?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uX****************@TK2MSFTNGP12.phx.gbl...

"Flashster" <fl***********@hotmail.com> schrieb:

How do I put a custom animated icon on the status bar of a form? I have
an animated icon file called icon.ani, and I''ve tried getting
''statusbar1.Animate'' to work with no success.



What''s ''statusbar1.Animate''? The ''StatusBar'' class doesn''t have an
''Animate'' method.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>



"Flashster" <fl***********@hotmail.com> schrieb:

So how do I go about adding an animated icon - it allows .ico files to be
placed in a panel but not.avi or .ani?



You could use a timer control to change the icon periodically.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


这篇关于表单状态栏中的动画图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆