登录
首页 » Windows开发 » 目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的...

目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的...

于 2022-07-09 发布 文件大小:356.86 kB
0 194
下载积分: 2 下载次数: 1

代码说明:

目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。   由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。   假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-present on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. I spend time on this transformation of the type that after transformation, and these can be applied to any MFC. WTL/ATL and other Windows API programming. As the original CPictureEx inherited from CStatic category, I transform, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 实现直线的编码裁剪算(Cohen_Sutherland算法)该程序能实现窗口屏幕上任意一条直线的裁剪...
    实现直线的编码裁剪算(Cohen_Sutherland算法)该程序能实现窗口屏幕上任意一条直线的裁剪-achieve linear coding cutting count (Cohen_Sutherland algorithm) to achieve the program window on the screen arbitrary cutting a straight line
    2022-03-28 12:59:19下载
    积分:1
  • 欢迎使用月影飞狐游戏修改器
    欢迎使用月影飞狐游戏修改器--内存修改 v1.0 (目前只支持 win 2k/xp/2003 系统) 本程序包含3个可执行文件, Gamer.exe Gamerdll.dll GameRun.exe .Gamer.exe的源 代码在Gamer目录下,Gamerdll.dll的源代码在Gamerdll目录下,GameRun.exe的源代码在GameRun 目录下,其中Gamer.exe为主程序文件,Gamerdll.dll是动态连接库,GameRun.exe为游戏自修改补 丁,支持游戏Directx模式下直接弹出,热键是小键盘的 * 键,对于不能在directx模式下弹出的游戏, 可以按小键盘的 - 键弹出主程序界面,然后选择游戏进程进行修改.在源代码目录中.rap文件为 RadAsm集成开发环境的工程文件. 程序使用 100% Win32 汇编语言程序设计,3个执行文件合起来才42K的大小,共4451行汇编源 代码(不算资源文件). 月影飞狐游戏修改器以windows进程和线程环境知识为基础,以完全独创的搜索算法为 手段,其中使用了PE(可执行文件)文件结构,windows结构化异常处理(SEH)技术,使得其搜索 速度和金山公司的金山游侠相差无几,而且搜索的精度高于金山游侠,支持模糊搜索,可以生成 游戏自修改补丁程序. 目前月影飞狐游戏修改器已经在星际争霸等游戏上测试通过.但在内存占用超过100M的游戏 中不够稳定. -welcomed the use of video on flying fox-game changes-- changes v1.0 memory (currently only supports the win 2k/x p/2003 system) the procedures contained three executable files, Gamer.exe Gamerdll.dll GameRun.exe. Gamer.e xe in the source code directory Gamer, Gamerdll.dll the source code in Gamerdll directory, GameRun.exe the source code in
    2022-07-13 03:54:11下载
    积分:1
  • 支持向量机的C语言,广泛应用于模式识别领域,一个更大的参考价值…
    支持向量机的C语言程序,广泛应用在模式识别领域中,有较大的参考价值-SVM C language, widely used in the field of pattern recognition, a larger reference value
    2022-07-19 17:43:46下载
    积分:1
  • LED 显示 的小程序主要用于获得点阵码串口通信的自己设置
    LED 显示 的小程序主要用于获得点阵码串口通信的自己设置-LED display of small programs mainly for access to serial dot matrix codes set up their own communications
    2022-04-22 22:21:35下载
    积分:1
  • 利用c编写的最小生成树算法
    利用c编写的最小生成树算法-prepared using the minimum spanning tree algorithm
    2022-03-18 10:58:51下载
    积分:1
  • 基于科大讯飞服务器版TTS功能调用的包装, 编译目标是DLL文件,需要用到TTS功能的应用可以调用此D...
    基于科大讯飞服务器版TTS功能调用的包装, 编译目标是DLL文件,需要用到TTS功能的应用可以调用此D-appear on the HKUST fly Server TTS function called packaging, compiler target is DLL files. necessary to use TTS function of the application can call this D
    2022-07-21 01:22:42下载
    积分:1
  • thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记...
    thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记录下来,然后转向到静态stdProc回调函数,转向之前先记录HWND,然后把堆栈里HWND的内容替换为this指针,这样在stdProc里就可以从HWND取回对象指针,定位到WindowProc了-thunk is a group of dynamically generated ASM command, it records the window class object this pointer, and this group of commands can be used as a function of both the process can also be a window to use. thunk first window object this pointer record, and then shifted to the static callback function stdProc, before turning record HWND, and then the contents of the stack where HWND replace this pointer, so in stdProc can retrieve the object from the HWND pointer, locate the WindowProc
    2022-08-09 23:02:21下载
    积分:1
  • 这是一个简单的、紧凑的台式电脑关机程序是用VB写的几米…
    这是一个简单、小巧的桌面电脑关机程序,是vb写的几百万。
    2022-11-28 21:35:03下载
    积分:1
  • One of the best document you may find to simplimfy and give the best results for...
    One of the best document you may find to simplimfy and give the best results for code review.
    2022-12-20 22:20:04下载
    积分:1
  • Serial port driver for Power Macintoshes
    Serial port driver for Power Macintoshes
    2022-01-30 19:34:11下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载