The resource file xx.rc

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

The resource file xx.rc

Post 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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: The resource file xx.rc

Post 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:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: The resource file xx.rc

Post 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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
inacihn
Posts: 23
Joined: Wed Oct 17, 2018 4:46 am
DBs Used: DBF

Re: The resource file xx.rc

Post by inacihn »

And RTF too.

HelpRTF RTF "FILESRES\\RichEditBox Shortcut Keys.rtf"
User avatar
SALINETAS24
Posts: 667
Joined: Tue Feb 27, 2018 3:06 am
DBs Used: DBF
Contact:

Re: The resource file xx.rc

Post by SALINETAS24 »

Muchas gracias
Como dijo el gran pensador Hommer Simpson..., - En este mundo solo hay 3 tipos de personas, los que saben contar y los que no. :shock:
Post Reply