Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ICON on Title Bar of FORM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01274501
Message ID:
01274539
Vues:
11
>Okay, that'll work.
>
>I have one problem. The image I have is not an icon but a BitMap and it looks like FoxPro will only accept an ICO file. Is there any way around this?
>
>>>How do you control what ICON is at the Top Left Corner of the Form in the TITLE area?
>
>>The form's Icon property.

Hi Cecil,

You may try just renaming your .BMP file to .ICO, and see what result you get ...
It works pretty well sometimes.

This is because a part of the bitmap info of BMPs and ICOs are equal.


For a conversion, you may use GdiPlusX as well:
http://weblogs.foxite.com/cesarchalom/archive/2007/08/14/4528.aspx
http://weblogs.foxite.com/cesarchalom/archive/2007/07/13/4346.aspx


In the next release, we hope to deliver a complete solution for .ICO files too, with very simplified code.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform