开发者

Change the icon in About Box

Could you tell me as to how do I change the default image that is displayed in an About Box? The one that comes default with MFC as three boxes. I would want to change that to my present icon that I have created using MFC. My icon works but I jus开发者_JS百科t need to change the picture/image in my About Box.

Thanks for your prompt replies.

Cheers.


A typical MFC application has the About dialog as part of the resource file that can be edited in the WYSIWYG editor. Open your projects .rc file, and click on the About Box dialog (the default IDD is IDD_ABOUTBOX). Right click on the Icon and select properties. From there you can change the icon that is used. Usually you would do this by adding additional icon resources to your application and specifying the new ID. Optionally, you could simply change the existing icon resource (by default it is IDR_MAINFRAME).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜