Bitmap files added in .rc not listed in resource.h
Posted
by ame
on Stack Overflow
See other posts from Stack Overflow
or by ame
Published on 2010-04-09T09:35:42Z
Indexed on
2010/04/09
11:33 UTC
Read the original article
Hit count: 303
I added a large number of bitmap files to my MFC project in resource view (Visual Studio). However, the resource.h file does not list any of these files. I would want them to be listed with exactly the same name as they are added in .rc bitmap list (say the name is xxx) I want it listed as #define IDB_xxx If I try to click on the bitmap in the .rc list and import it, it gets listed as IDB_BITMAP1. Owing to the large number of files it is not feasible for me to manually rename them for use in my code.
© Stack Overflow or respective owner