Member No.: 11097
Joined: 10-August 08
Hiya, when changing an existing resource file of a Dialogbox for example, wich contains a bitmap, the resource is saved incorrect. after apllying changes, the bitmap wont be vieuwed... I will past some lines to show what i mean
#define IDB_BITMAP 1010
#define ID_ICON 1034
#define ID_ICON_2 1035
IDB_BITMAP BITMAP DISCARDABLE "Res/my_cool_bitmap.bmp"
ID_ICON ICON DISCARDABLE "Res/Monk.ico"
ID_ICON_2 ICON DISCARDABLE "Res/Greenman.ico"
IDD_DIALOG1 DIALOGEX 6,6,206,169
CAPTION "Some Dialog"
FONT 8,"MS Sans Serif"
above code works... , but now when i apply changes with the visual resource editor
the last line ( ' IDB_BITMAP,IDC_...... ')
Will be saved as below:
now after compiling the bitmap is *NOT* displayed, and i have to remove the " before and after IDB_BITMAP using text edit
Ofcoz its not a real big deal, but i thought you would like to know