MFC:如何在Visual Studio 2010中显示mfcbuttoncontrol图标? [英] MFC: How to show mfcbuttoncontrol icon in visual studio 2010?

查看:290
本文介绍了MFC:如何在Visual Studio 2010中显示mfcbuttoncontrol图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在Visual Studio 2010中创建了MFC共享.dll文件.在.dll文件中,有一个mfcbuttoncontrol和一个将插入的图标.我想使用.dll文件图标,但无法显示.

谁能说出原因是什么?

在此先感谢您.

Hi,

I have created an MFC shared .dll file in Visual Studio 2010. In the .dll file there is a mfcbuttoncontrol and an icon that will be inserted. I want to use the .dll file icon but cannot show.

Can anyone tell what is the reason?

Thanks in advance.

推荐答案

如果看不到您的代码,就无法猜测.您是否已将DLL加载到应用程序中,并且正在为相关资源使用正确的资源名称或ID?

请参见此处 [
Without seeing your code it is impossible to guess. Have you loaded the DLL into your application, and are you using the correct resource names or ids for the relevant resources?

See here[^] for some Microsoft guidance on the subject.


这篇关于MFC:如何在Visual Studio 2010中显示mfcbuttoncontrol图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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