CnPack Forum


 
Subject: 请教:CnWizards的图标从哪里找出来的?
xychen
普通灌水员
Rank: 2



UID 28175
Digest Posts 0
Credits 56
Posts 16
点点分 56
Reading Access 10
Registered 2007-10-5
Status Offline
Post at 2009-6-6 20:08  Profile | Blog | P.M. 
请教:CnWizards的图标从哪里找出来的?

查看源文件目录,得知很多图标是来自Bin\Icons目录,但是这个目录里面都是CnWizards的自画图标,对于那种直接来自Delphi IDE的图标,又是如何提取出来的?
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-6-6 21:24  Profile | Blog | P.M. 
Delphi IDE运行期自身有个ImageList,可通过CnWizUtils中的这个函数来获得:

function GetIDEImageList: TCustomImageList;
var
  Svcs40: INTAServices40;
begin
  QuerySvcs(BorlandIDEServices, INTAServices40, Svcs40);
  Result := Svcs40.ImageList;
end;
Top
 




All times are GMT++8, the time now is 2024-11-23 04:31

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.006571 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP