Page 1 of 1

The resource file xx.rc

Posted: Tue Feb 28, 2012 6:16 pm
by danielmaximiliano
Hola a Todos:
cuales son los archivos soportados por el archivo de recurso xx.rc de un proyecto
en los ejemplos no esta muy especifico
mibmp BITMAP pc.bmp
miicon ICON pc.ico
mivideo AVI pc.avi
alguno otro mas? .PNG .JPG

Hi:
files which are supported by the resource file of a project xx.rc
in the examples is not very specific
mibmp BITMAP pc.bmp
miicon ICON pc.ico
mivideo AVI pc.avi
any other more? .PNG .JPG

Re: The resource file xx.rc

Posted: Tue Feb 28, 2012 6:57 pm
by gfilatov
danielmaximiliano wrote: Hi:
files which are supported by the resource file of a project xx.rc
in the examples is not very specific
mibmp BITMAP pc.bmp
miicon ICON pc.ico
mivideo AVI pc.avi
any other more? .PNG .JPG
Hi Daniel,

Please take a look for the available types in this resource file below (from HMG sample's distribution): :arrow:

Code: Select all

// Using a resource file like this, you can include images, icons and sounds
// inside EXE.
//
//	Resource name	Resouce Type    Resource FileName
//
	WAVERESNAME	WAVE 	FILENAME.WAV
	BITMAPRESNAME	BITMAP	FILENAME.BMP
	ICONRESNAME	ICON		FILENAME.ICO
	JPGRESNAME	JPG		FILENAME.JPG
	GIFRESNAME	GIF		FILENAME.GIF
Hope that helps :idea:

Re: The resource file xx.rc

Posted: Tue Feb 28, 2012 8:48 pm
by danielmaximiliano
gfilatov wrote:
// inside EXE.
//
// Resource name Resouce Type Resource FileName
//
WAVERESNAME WAVE FILENAME.WAV
BITMAPRESNAME BITMAP FILENAME.BMP
ICONRESNAME ICON FILENAME.ICO
JPGRESNAME JPG FILENAME.JPG
GIFRESNAME GIF FILENAME.GIF
[/code]
Hope that helps :idea:
Thank you Grigory.
I was trying to use PNG images for my Toolbar but does not take those files

Code: Select all

//**    iCONOS   **//
Comprime       ICON      Iconos\UPX.ICO
Laptop        ICON      Iconos\Laptop.ico
Pc            ICON     Iconos\pc.ico
Backup        PNG      Imagenes\backup.png
Salir         PNG      Imagenes\exit.png

Re: The resource file xx.rc

Posted: Tue Dec 04, 2018 6:15 pm
by inacihn
And RTF too.

HelpRTF RTF "FILESRES\\RichEditBox Shortcut Keys.rtf"

Re: The resource file xx.rc

Posted: Tue Dec 04, 2018 8:14 pm
by SALINETAS24
Muchas gracias