Jump to content
Posted 11 May 2011 - 05:23 AM
Posted 11 May 2011 - 05:38 AM
Posted 11 May 2011 - 05:47 AM
Provided nothing has changed since I first learned about it (which was admittedly in the Win98 era), the icon used for the application is simply the icon with the lowest ID included in the executable's resource table.
Posted 11 May 2011 - 06:49 AM
Posted 11 May 2011 - 06:58 AM
Posted 11 May 2011 - 07:05 AM
Seems quite simple, but how do I use resources anyway? Didn't use them till know, and I checked the internet, but couldn't find much useful information. I tried right-clicking on my project and move over add, but then all I can do is add a class as "resource" is greyed out. Any idea? I'm using visual c++ studio 2010 express, maybe express can't handle resources (which I don't really think)..?
#define IDI_PROJECTNAME 107 #define IDI_SMALL 108
#include "windows.h" #include "resource.h" IDI_PROJECTNAME ICON "projectname.ico" IDI_SMALL ICON "small.ico"