If it contains a default Icon file, probably named IDI_ICON1, you'll have to edit that node to make it the icon you want to use. You'll see that there's a folder called Icon. Now a Resource File (.rc) is created which contains your application Icon, in the form of an Icon node. Import either a bitmap file or your custom. unless you use the Visual Studio Image Library which contains over 5,000 high quality icons and bitmaps from Visual Studio, Office, Windows and other Microsoft applications. However, it's not an easy task to create or find icons which match the Windows style, look like well known Microsoft icons and are royalty-free. In the "Add Resource" window that pops up, select Icon and select Import. Almost all UI applications need icons and bitmaps. Right-click on the Resource Files folder and select "Add > Resource." This answer for VS2017 was basically correct, but it didn't fully explain what you have to do to get it to work and the documentation it links to was vague enough to confuse me, so I'll post this answer as the VS2019 version with full and complete easy-to-follow instructions.įind the Resource Files folder in your project, probably near your Header Files and Source Files folders.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |