MFC对话框上的GIF动画 [英] GIF animation on MFC dialog

查看:110
本文介绍了MFC对话框上的GIF动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不使用CStatic控件的情况下在基于MFC C ++对话框的应用程序上加载gif动画?
谢谢!

How can i load gif animation on MFC C++ dialog based application without the using CStatic control?
Thanks!

推荐答案

在MFC中什么也没有做,或者至少没有我上次看.您需要某种第三方控件或库来将GIF拆分为多个帧. GDI +可以读取框架,但是我不确定它是否可以遍历它们.我确信至少有一篇代码项目文章显示了如何执行此操作.您检查了吗?
There''s nothing in MFC to do this, or at least, there wasn''t the last time I looked. You''d need some sort of third party control or library to split the GIF into frames. GDI+ can read the frames, but I''m not sure if it can iterate over them. I feel certain there''s at least one code project article showing how to do this, tho. Did you check ?


这肯定可以满足您的需求

http://www.codeguru.com/cpp/gm/bitmap/article.php/c4879 [^ ]

Njoy ..... Happy Coding
This will surely meet your needs I guess

http://www.codeguru.com/cpp/g-m/bitmap/article.php/c4879[^]

Njoy.....Happy Coding


这篇关于MFC对话框上的GIF动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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