Download MetaTrader 5

How does a programmer add icon to resources?

To add comments, please log in or register
Marcel Igboanugo
257
Marcel Igboanugo  

Help needed, I tried to use the .ico format file with the #resource but it is not recognized. However .bmp is very much used with #resource. Question is:

how do I use Resources to append the icon file (or better still use .bmp to create an icon) so that when the program is distributed or moved to a different computer there will be no need to transfer the icon file?

Mladen Rakic
61823
Mladen Rakic  
Marcel Igboanugo:

Help needed, I tried to use the .ico format file with the #resource but it is not recognized. However .bmp is very much used with #resource. Question is:

how do I use Resources to append the icon file (or better still use .bmp to create an icon) so that when the program is distributed or moved to a different computer there will be no need to transfer the icon file?

Use #property icon instead for that
Marcel Igboanugo
257
Marcel Igboanugo  
Okay, I'll do that, thank you.
To add comments, please log in or register