在资源里面import一个新的图标,然后删除原来的那个,记下它的id并把id付给你的新图标。OK!!!
解决方案 »
- VC6编译错误error C2893
- 打包软件NSIS
- GPRS发送数据,能否用套接字方法接收??
- VC++6.0...一个莫名的问题
- 问一个简单问题:怎样让一个窗口置顶?就象QQ的登录界面那样,即使最小化所有窗口后该登录界面依然存在...
- 请问c++中怎么实现字符串和整数之间的转化??
- 在windows xp操作系统上,异步socket的connect调用竟然会阻塞,各位高手,谁能解惑,不甚感激。
- CRichEditCtrl设置背景求助
- 一个关于ATL的MFC支持的问题?
- 数据库菜鸟关于表的问题,在线等候
- cdr 是什么文件格式,用什么程序打开。
- 我用MFC向导建立一对话框类,在另一类中调用,可该对话框显示不出来,WHY???
HICON LoadIcon( LPCTSTR lpszResourceName ) const;HICON LoadIcon( UINT nIDResource ) const;Return ValueA handle to an icon if successful; otherwise NULL.ParameterslpszResourceNamePoints to a null-terminated string that contains the name of the icon resource. You can also use a CString for this argument.nIDResourceID number of the icon resource.ResLoads the icon resource named by lpszResourceName or specified by nIDResource from the executable file. LoadIcon loads the icon only if it has not been previously loaded; otherwise, it retrieves a handle of the existing resource. You can use the LoadStandardIcon or LoadOEMIcon member function to access the predefined Windows icons.