Well i am using msdev and i have made a recource file with bmps in it When i try:
img.LoadBitmap("BOX_BG");
where BOX_BG is id of my image but it does not work why???
i m using mfc and imd is of CBitmap data type :confused:
Printable View
Well i am using msdev and i have made a recource file with bmps in it When i try:
img.LoadBitmap("BOX_BG");
where BOX_BG is id of my image but it does not work why???
i m using mfc and imd is of CBitmap data type :confused:
Try using MAKEINTRESOURCE( BOX_BG ) instead of "BOX_BG".