我需要在对话框中显示gif动画。最好是在按钮上。(不在按钮上也行)
请问有什么简便的方法。(因为我需要在一个窗口上显示比较多的gif动画,大该几十个)
我在vckbase上搜过,好象没有显示动画的。
能提供一个思路也行。最好有源码。先谢过了。
请问有什么简便的方法。(因为我需要在一个窗口上显示比较多的gif动画,大该几十个)
我在vckbase上搜过,好象没有显示动画的。
能提供一个思路也行。最好有源码。先谢过了。
Email [email protected]
这样太麻烦了。我要用的gif不是程序中主要的的东东。贴静态bmp占用资源太多了.
[email protected]
对不起,Email写错了。
给我发一份吧
Email [email protected]
//
// Picture displaying control with support for the following formats:
// GIF (including animated GIF87a and GIF89a), JPEG, BMP, WMF, ICO, CUR
//
// Written by Oleg Bykov ([email protected])
// Copyright (c) 2001
//
// To use CPictureEx, follow these steps:
// - place a static control on your dialog (either a text or a bitmap)
// - change its identifier to something else (e.g. IDC_MYPIC)
// - associate a CStatic with it using ClassWizard
// - in your dialog's header file replace CStatic with CPictureEx
// (don't forget to #include "PictureEx.h" and add
// PictureEx.h and PictureEx.cpp to your project)
// - call one of the overloaded CPictureEx::Load() functions somewhere
// (OnInitDialog is a good place to start)
// - if the preceding Load() succeeded call Draw()
哪个源码我以前下载,不过还是谢谢你。