如何更改其他程序图标? [英] How can i change another program icon?

查看:128
本文介绍了如何更改其他程序图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C ++中更改另一个程序图标(不是我的)?我想在Windows上这样做。我的一个朋友是用VB编程,他制作了一个可以改变另一个.exe图标的程序。那么我怎么能用C ++做呢?

How can i change another program icon(not mine) in C++ ? I want to do this on Windows. One of my friend is programming in VB and he made a program that can change another .exe icon. So how can i do that in C++ ?

推荐答案

准备好更新的资源后(使用LoadIcon / LoadImage,取决于你的图标所在存储),完成调用UpdateResource的步骤:

After preparing your updated resource (using LoadIcon/LoadImage, depending on where your icon is stored), go through the steps to call UpdateResource:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms648049%28v=VS.85%29。 aspx

这些函数的文档应该涵盖你可能需要做的更精细的点。

The documentation for the functions should cover the finer points of what you might need to do.

这篇关于如何更改其他程序图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆