Thanks for all your help. (Kev & Snarkbait). My program is running fine. Found a bug that I managed to fix myself (shock, shock, horror, horror). When you draw the image using Kev's method onto the window, then minimize the window, when the window is restored, the icon disappears. I got around this by including the AppResume event in the program loop, which when it is triggered, redraws the image(s) on the screen.
Snarkbait - I tried to follow your code through and succeeded mostly. - LOL. (I've made a Blitz Compression utility so my Bytes/Shorts/Integer stuff seems to be up to scratch). However, where did you manage to find the file structure of the ICON file. I used Wotsit's Format but it didn't have much stuff on it. Do you know of any other good websites?
Thanks for all your help
Seb
P.S: Thanks for telling me about that ApiViewer, it will come in very handy. :-)
Snarkbait - I tried to follow your code through and succeeded mostly. - LOL. (I've made a Blitz Compression utility so my Bytes/Shorts/Integer stuff seems to be up to scratch). However, where did you manage to find the file structure of the ICON file. I used Wotsit's Format but it didn't have much stuff on it. Do you know of any other good websites?
Thanks for all your help
Seb
P.S: Thanks for telling me about that ApiViewer, it will come in very handy. :-)