The resource file xx.rc

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
danielmaximiliano
Posts: 2090
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 115 times
Been thanked: 15 times
Contact:

The resource file xx.rc

Post by danielmaximiliano » Tue Feb 28, 2012 6:16 pm

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
gfilatov
Posts: 578
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 16 times
Been thanked: 145 times
Contact:

Post by gfilatov » Tue Feb 28, 2012 6:57 pm

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: 2090
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 115 times
Been thanked: 15 times
Contact:

Post by danielmaximiliano » Tue Feb 28, 2012 8:48 pm

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

inacihn
Posts: 21
Joined: Wed Oct 17, 2018 4:46 am
DBs Used: DBF

Post by inacihn » Tue Dec 04, 2018 6:15 pm

And RTF too.

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

User avatar
SALINETAS24
Posts: 227
Joined: Tue Feb 27, 2018 3:06 am
DBs Used: DBF
Has thanked: 2 times
Been thanked: 6 times

Post by SALINETAS24 » Tue Dec 04, 2018 8:14 pm

Muchas gracias

Post Reply