登录
首页 » 界面开发 » AppFace supports three skin loading from the disk loading, loading resources fro...

AppFace supports three skin loading from the disk loading, loading resources fro...

于 2022-03-05 发布 文件大小:576.32 kB
0 62
下载积分: 2 下载次数: 1

代码说明:

AppFace 支持三种皮肤加载方式,从磁盘文件加载,从资源加载,从内存加载。下面我就说说如何从资源加载URF皮肤文件:   首先,要确保你下载了AppFace for VC 开发包,我们要用到其中的三个文件: "appface.h", "appface.dll" ,"gtclassic.urf" 。   接着,创建一个 VC 可执行文件工程, MDI/SDI/DIALOG/WIN32 类型的都可以,我以创建一个DIALOG 工程 ResSkin 进行说明 。将"appface.h" 拷贝到该工程目录下,将"Appface.dll"拷贝到该工程的输出目录下,例如:"debug",将"gtclassic.urf"拷贝到资源所在目录下 。在VC 的项目管理器中进入资源管理项,在右键菜单中选择"Import",将"gtclassic.urf"添加进工程,资源类型设定为: "MYRESTYPE",资源ID设定为"IDR_MY_URF"。注意:资源ID 前面一定要加双引号 -AppFace supports three skin loading from the disk loading, loading resources from the memory load. Now, I would talk about how to load resources from the URF skin document : first, to ensure that you downloaded AppFace for VC development kits, we have to use th ree documents : "appface.h", "appface.dll", "gtclassic.urf." Next, create an executable file VC, MDI/SDI/DIALOG/WIN32 types of can, I would like to create a DIALOG project ResSkin explanation. "Appface.h" copy to the project directory, "Appface.dll"

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

发表评论

0 个回复

  • 696518资源总数
  • 104225会员总数
  • 32今日下载