How to add .bmp to resource?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
apichit
Posts: 33
Joined: Thu Jun 07, 2012 9:39 am

How to add .bmp to resource?

Post by apichit »

Help me please. I don't know how to add an icon into resources window of HMG IDE.
Attachments
resouces.gif
resouces.gif (18.63 KiB) Viewed 1599 times
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: How to add .bmp to resource?

Post by esgici »

apichit wrote:Help me please. I don't know how to add an icon into resources window of HMG IDE.
Hi Apichit

"Resource" has a special format :

<cResourceName> <cResourseType> <cResourceFullFileName>

For example :If name of your icon file is "MyIcon.ico", you need first give an "internal" name to it
say "MyIcon" and add a line to resource tab of Project Inspector Window of HMG_IDE :

MyIcon ICON "MyIcon.ico"

that is all :arrow:

In addition : HMG IDE save resource info into <ProjectName>.RC. You can inspect this file for see its format.

Happy HMG'ing :D
Last edited by esgici on Thu Oct 11, 2012 11:26 am, edited 1 time in total.
Viva INTERNATIONAL HMG :D
apichit
Posts: 33
Joined: Thu Jun 07, 2012 9:39 am

Re: How to add .bmp to resource?

Post by apichit »

Hi Esgici,

thank you so much for your kind help. :)

Apichit
Post Reply