Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Icon file structure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Icon file structure
Divers
Thread ID:
00497313
Message ID:
00497313
Vues:
42
Rather than bugging Neil more, I decided to post this as a question.

I've been trying to come up with a way to take an icon file with a single 32x32 icon in it and programmatically create a file with both with both 32x32 and 16x16 icons in it (kind of what ImagEdit does). I can programmatically create or one provided both formats exist in individual files (and I can split them apart as well). The problem is, as one might expect, shrinking the 32x32 icon down to 16x16. I know the API call to use to do this (StretchBlt()), but what I don't know is if it will give me all the information I need for the icon.

I know (from working with Obj2BMP) that, in that case, I had to hard code the necessary RGBQuad arrays for 16 and 256 colors. I'm wondering if the same would be true here.

tia,
George

Ubi caritas et amor, deus ibi est
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform