• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 555
  • Last Modified:

Maskcolor won't mask color... :(

Hi,

This should be pretty simple...so it's driving me nutts... :/

I'm using a command button with a picture. I've created the picture with a white background (FFFFFF) using paint. Saved it BMP (256 colors). In VB6 (under XP) i assign the picture property of a command button to that bmp file... I've also put &H00FFFFFF in the maskcolor property of that button.... But guess what... The background of the image still appears white instead of transparent... :(

I've check and double check the color code of my bmp and it's ok...  What am i missing...!?!?


Thanks !
0
ouaouaron
Asked:
ouaouaron
1 Solution
 
AzraSoundCommented:
Set the UseMaskColor property to True
0
 
Richie_SimonettiIT OperationsCommented:
On what deep is your screen reolution?
0
 
aflat362Commented:
Check to make sure that Style is set to 1 for the command button
0
 
Naveen SwamyYash Infinite Solutions Private LimitedCommented:
chk appearence tab on display properties
0
 
ouaouaronAuthor Commented:
I wander why i would specify a maskcolor and then put usemaskcolor to false....  anyway...  :/

Thanks !!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now