Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ICON on Title Bar of FORM
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01274501
Message ID:
01274539
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform