Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Need .RES File to include in my project !!!
Posted: Mon May 27, 2019 02:50 PM
Shridhar
This is sample for RC file
Rc file is compiled with your compiler C, and converted to RES file
Look at type 10, used for images other than .bmp
#include <windows.h>
#include <commctrl.h>
#ifndef __64__
1 24 "WindowsXP.Manifest"
#else
1 24 "WindowsXP.Manifest64"
#endif
1 ICON ".\images\magic.ico"
quit01 BITMAP ".\images\quit.bmp"
setup01 BITMAP ".\images\setup.bmp"
table 10 ".\images\database.bmp"
tableg 10 ".\images\databaseg.bmp"
tablec 10 ".\images\databasec.bmp"
product01 BITMAP ".\images\index2.bmp"
inicial01 10 ".\images\magic.bmp"
tablev 10 ".\images\databasev.bmp"
tablen 10 ".\images\databasen.bmp"
list1 BITMAP ".\images\goto.bmp"
list2 BITMAP ".\images\combobox.bmp"
select BITMAP ".\images\gotoline.bmp"
compare BITMAP ".\images\tiled2.bmp"
drop01 BITMAP ".\images\delete.bmp"
select01 10 ".\images\task.bmp"
alls01 BITMAP ".\images\run.bmp"
view01 BITMAP ".\images\view.bmp"
cancel01 BITMAP ".\images\no.bmp"
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces