Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LoadPicture and .ico
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00867170
Message ID:
00868282
Vues:
21
>Hello,
>
>I need to load some icons into a DBI treeview control. It seems to always want to display .ico files at 32x32, but I need to display them at the 16x16 version.
>
>Is there some property of a picture object which specifies which version of an .ico is used? Or if I loadpicture() an .ico file is there a way to specify the size of the output bitmap for savepicture()? (so I can create 16x16 bitmaps on the fly)
>
>TIA

You can set the sized in the imagelist control - but if that's not an option with dbi (been years since I worked with them), you might get some relief from:
DECLARE INTEGER LoadImage IN win32api INTEGER,STRING,INTEGER,INTEGER,INTEGER,INTEGER
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform