提取exe文件的图标

  TIcon *pIcon = new TIcon();
  WORD wIndex;
  HICON hIcon=ExtractAssociatedIcon(HInstance,"c://windows//explorer.exe", &wIndex);
  pIcon->Handle =hIcon;
  Form1->Icon = pIcon;
  Image1->Picture = (TPicture *)pIcon;
阅读更多
版权声明:原创文章转载时请附上原文链接 https://blog.csdn.net/aniven/article/details/556344
文章标签: exe image c
个人分类: C++/BCB开发
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭