>Hi, George!
>
>>Look at my Icon Maker in the downloads. It takes a standard 32x32 icon (16 colors), shrinks it to 16x16 and produces a combined icon file. It can also attach it to an active project.
>
>I have to check for your contributions more often... 8-)
>
>Nice tool. Do you have any plan to add support to 256 color icons. Now that VFP 8 supports it, that's what made me go to think about the icons again.
Not until at lease after the release of VFP 8. Then they'll be some necessary research. I imagine, however, that the 256 color icons with follow the same structure that the 16 color ones do.
You may note the presence of a method named FixSmallIcon. Whether or not it'll be necessary to use this function isn't known. Currently, on all platforms up to W2K, there's a bug in the underlying API call (that the SAVEPICTURE() function calls) which causes the insertion of 128 bytes in the file. (Note to all: This is most decidedly
not a VFP bug, but in the underlying API function.) Whether or not the same behavior exists with 256 color icons when shrunk or if it happens under WinXP, I have to find out.
Once I get a feel for what's going on with 256 color icons, I'll probably add that capability to my Icon Extractor (IconX).
George
Ubi caritas et amor, deus ibi est