Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitmaps and Icons on buttons problem in VFP?
Message
From
10/02/1997 20:38:15
 
 
To
10/02/1997 14:12:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00019921
Message ID:
00019970
Views:
39
>Hello All...I have done some experimentation using icons and bitmaps on command buttons, and have come to the following conclusions:
>
> * 16x16 .ICO's are forcibly scaled to 32x32
>
> * 'Screen color' in ICO files is ignored and white (RGB(255,255,255)) is the only transparent color allowed.
>
> * Likewise, the only way to make a part of a BMP transparent is the paint it white.
>
>Hopefully, someone will be able to correct any or all of these assumptions. If this is true, how does use white on an icon?

For each filename.bmp make a filename.msk (mask) and put black in the corresponding pixel for each pixel you want to be white and opaque in filename.bmp. FoxPro automatically looks for a mask file.

If you still have problems with it, tell me and I'll look for a sample to send to you by email.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform