﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-万一的 Delphi 博客-随笔分类-&lt;span class=bt&gt;1a.&lt;/span&gt;关于资源文件</title><link>http://www.cnblogs.com/del/category/122614.html</link><description>记录学习过程中的点点滴滴，是喜欢、不是职业；记性不好，特别需要这么一个博客。</description><language>zh-cn</language><lastBuildDate>Mon, 01 Sep 2008 23:13:45 GMT</lastBuildDate><pubDate>Mon, 01 Sep 2008 23:13:45 GMT</pubDate><ttl>60</ttl><item><title>模拟一个带背景的 TPanel</title><link>http://www.cnblogs.com/del/archive/2008/09/01/1281345.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Mon, 01 Sep 2008 08:59:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/09/01/1281345.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1281345.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/09/01/1281345.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1281345.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1281345.html</trackback:ping><description><![CDATA[摘要: 程序中用TPanel做了容器,需要给它一个背景图片;发现这竟是个难题!发现我经常使用的滚动箱控件TScrollBox,是一个很好的替代品.本例需要先添加两个图片资源,添加...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/09/01/1281345.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1281345.html?type=1" width = "1" height = "1" />]]></description></item><item><title>Delphi 2009 中的资源文件编辑器</title><link>http://www.cnblogs.com/del/archive/2008/08/23/1274591.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Sat, 23 Aug 2008 02:51:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/08/23/1274591.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1274591.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/08/23/1274591.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1274591.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1274591.html</trackback:ping><description><![CDATA[摘要: &nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/08/23/1274591.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1274591.html?type=1" width = "1" height = "1" />]]></description></item><item><title>Windows 编程[23] - 快捷键资源</title><link>http://www.cnblogs.com/del/archive/2008/04/24/1170027.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 24 Apr 2008 14:34:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/24/1170027.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1170027.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/24/1170027.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1170027.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1170027.html</trackback:ping><description><![CDATA[摘要: 提示:1、因为加入快捷键,本例的基础代码和以前不同了;因为窗体初始化时要先载入快捷键资源,还要拦截快捷键消息另作处理.2、关于快捷键的话题,以前接触过不少了,但那些都不是本质:&...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/24/1170027.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1170027.html?type=1" width = "1" height = "1" />]]></description></item><item><title>Windows 编程[14] - 菜单与菜单资源(三) </title><link>http://www.cnblogs.com/del/archive/2008/04/22/1165322.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Tue, 22 Apr 2008 03:55:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/22/1165322.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1165322.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/22/1165322.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1165322.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1165322.html</trackback:ping><description><![CDATA[摘要: 前面我们分别使用过MENU和MENUEX来指定菜单资源,我发现用MENU不必注意大小写;但MENUEX在使用参数时需要注意大小写!另外,指定相同的功能时,它们使用的参数和格式...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/22/1165322.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1165322.html?type=1" width = "1" height = "1" />]]></description></item><item><title>Windows 编程[13] - 菜单与菜单资源(二) </title><link>http://www.cnblogs.com/del/archive/2008/04/21/1164594.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Mon, 21 Apr 2008 13:27:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/21/1164594.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1164594.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/21/1164594.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1164594.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1164594.html</trackback:ping><description><![CDATA[摘要: 我们可以把上例中的资源文件修改成这样:MyMenu1MENUEXBEGINPOPUP"&File",65535BEGINMENUITEM"...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/21/1164594.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1164594.html?type=1" width = "1" height = "1" />]]></description></item><item><title>Windows 编程[12] - 菜单与菜单资源(一)</title><link>http://www.cnblogs.com/del/archive/2008/04/20/1162321.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Sun, 20 Apr 2008 04:17:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/04/20/1162321.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1162321.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/04/20/1162321.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1162321.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1162321.html</trackback:ping><description><![CDATA[摘要: 假如我们用TMainMenu控件设计如下菜单:该菜单在窗体源文件中是这样存储的:objectMainMenu1:TMainMenuLeft=160Top=...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/04/20/1162321.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1162321.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WinAPI: LoadString - 从资源中载入字符串</title><link>http://www.cnblogs.com/del/archive/2008/02/15/1070275.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Fri, 15 Feb 2008 15:37:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/15/1070275.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1070275.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/15/1070275.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1070275.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1070275.html</trackback:ping><description><![CDATA[摘要: //声明:LoadString(hInstance:HINST;{EXE或DLL的句柄}uID:UINT;{资源ID}lpBuffer...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/15/1070275.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1070275.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WinAPI: ExtractIcon - 获取 EXE、DLL 或 ICO 文件中的图标</title><link>http://www.cnblogs.com/del/archive/2008/02/15/1070115.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Fri, 15 Feb 2008 11:26:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/15/1070115.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1070115.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/15/1070115.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1070115.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1070115.html</trackback:ping><description><![CDATA[摘要: //声明:ExtractIcon(hInst:HINST;{调用函数的程序实例}lpszExeFileName:PChar;{文件路径;文件可以是*...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/15/1070115.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1070115.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[11] - DLL 中的资源文件</title><link>http://www.cnblogs.com/del/archive/2008/02/15/1069861.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Fri, 15 Feb 2008 08:11:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/15/1069861.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069861.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/15/1069861.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069861.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069861.html</trackback:ping><description><![CDATA[摘要: 本例将把一张bmp图片,以资源文件的方式嵌入dll,然后再调用.第一步:建一个DLL工程,如图:然后保存,我这里使用的名称都是默认的.第二步:...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/15/1069861.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069861.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[10] - 嵌入和提取任何类型的文件</title><link>http://www.cnblogs.com/del/archive/2008/02/15/1069769.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Fri, 15 Feb 2008 07:26:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/15/1069769.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069769.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/15/1069769.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069769.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069769.html</trackback:ping><description><![CDATA[摘要: //下面是Windows支持的资源格式:RT_CURSOR=MakeIntResource(1);RT_BITMAP=MakeIntResource(2);...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/15/1069769.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069769.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[9] - WAVE 资源</title><link>http://www.cnblogs.com/del/archive/2008/02/15/1069523.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Fri, 15 Feb 2008 04:00:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/15/1069523.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069523.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/15/1069523.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069523.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069523.html</trackback:ping><description><![CDATA[摘要: //rc文件:sound1WAVE"SoundFile1.wav"sound2WAVE"SoundFile2.wav"//代码:unitUnit1;inte...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/15/1069523.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069523.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[8] - 关于 HInstance</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1069130.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 14:01:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1069130.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069130.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1069130.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069130.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069130.html</trackback:ping><description><![CDATA[摘要: //几乎每一个提取资源的例子都用到了HInstance,做个对比测试:varh,a,f:Cardinal;beginh:=HInstance;a:=App...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1069130.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069130.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[7] - 字符串资源 </title><link>http://www.cnblogs.com/del/archive/2008/02/14/1069106.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 13:30:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1069106.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069106.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1069106.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069106.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069106.html</trackback:ping><description><![CDATA[摘要: //rc文件:StringTablebegin0"AAAA"1"BBBB"2"CCCC"3"DDDD"end//也可以这样写:StringTable...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1069106.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069106.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[6] - 菜单资源</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1069081.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 12:42:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1069081.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069081.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1069081.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069081.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069081.html</trackback:ping><description><![CDATA[摘要: //rc文件:MyMenu1MENUbeginPopup"File"beginMenuItem"&Open"MenuItem"&Save"MenuItemSep...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1069081.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069081.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[5] - 鼠标指针资源</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1069029.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 11:09:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1069029.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1069029.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1069029.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1069029.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1069029.html</trackback:ping><description><![CDATA[摘要: //rc文件:cur1CURSORcur\kyodai.curcur2CURSORcur\static.cur//或者cur1,CURSOR,cur\kyodai.cur...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1069029.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1069029.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[4] - 用资源中的图片做背景、使用 LoadFromResourceID</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1068855.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 08:29:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1068855.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1068855.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1068855.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1068855.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1068855.html</trackback:ping><description><![CDATA[摘要: 首先编辑rc文件如下(假定图片文件放在程序目录下的img文件夹下):1BITMAPimg\bmpFile1.bmp2BITMAPimg\bmpFile2.bmp或者:1...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1068855.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1068855.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[3] - 用 Image 显示资源中的图片</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1068617.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 04:53:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1068617.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1068617.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1068617.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1068617.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1068617.html</trackback:ping><description><![CDATA[摘要: 首先编辑rc文件如下(假定图片文件放在程序目录下的img文件夹下):bmp1BITMAPimg\bmpFile1.bmpbmp2BITMAPimg\bmpFile2.bmp...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1068617.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1068617.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[2] - Ico</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1068519.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 03:01:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1068519.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1068519.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1068519.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1068519.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1068519.html</trackback:ping><description><![CDATA[摘要: 现在要做一个携带两个图标的资源文件,并调用的例子.1、首先建新工程,保存,注意这次我们不删除{$R*.res}2、复制两个ico文件到工程目录,譬如文件是:IcoFile_1...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1068519.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1068519.html?type=1" width = "1" height = "1" />]]></description></item><item><title>学习使用资源文件[1] - 入门</title><link>http://www.cnblogs.com/del/archive/2008/02/14/1068381.html</link><dc:creator>万一</dc:creator><author>万一</author><pubDate>Thu, 14 Feb 2008 01:07:00 GMT</pubDate><guid>http://www.cnblogs.com/del/archive/2008/02/14/1068381.html</guid><wfw:comment>http://www.cnblogs.com/del/comments/1068381.html</wfw:comment><comments>http://www.cnblogs.com/del/archive/2008/02/14/1068381.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/del/comments/commentRss/1068381.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/del/services/trackbacks/1068381.html</trackback:ping><description><![CDATA[摘要: 资源文件(*.res)通过编译指令$R关联,譬如工程文件Project1中的{$R*.res}就是关联Project1.res资源文件,我们直接写作{$RProject1.r...&nbsp;&nbsp;<a href='http://www.cnblogs.com/del/archive/2008/02/14/1068381.html'>阅读全文</a><img src ="http://www.cnblogs.com/del/aggbug/1068381.html?type=1" width = "1" height = "1" />]]></description></item></channel></rss>