How can i make it so when i press button1, the timage (32,32 pix) is saved as a valid icon file. ive tried saving them, and when i go to use it, it says 'Not a Valid Icon File', please help.
thank you.
How can i make it so when i press button1, the timage (32,32 pix) is saved as a valid icon file. ive tried saving them, and when i go to use it, it says 'Not a Valid Icon File', please help.
thank you.
Do a search for TjvIcon. Its the only Delphi source I've come accross for creating Icon files from images.
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
If you're prepared to put the extra work in some .Ico file format documentation is available from Wotsit.Org
http://www.wotsit.org/download.asp?f=icons
It will mean you gotta write your own routines to convert from bitmap to icon
but the docs do contain some C source code but it shouldn't be too difficult to convert, it looks pretty basic. Hope this helps.
Isometric game development blog http://isoenginedev.blogspot.com/
Bookmarks