Maskcolor won't mask color... :(

Posted on 2003-03-21
Medium Priority
Last Modified: 2008-02-01

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 !
Question by:ouaouaron
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 28

Accepted Solution

AzraSound earned 1000 total points
ID: 8181136
Set the UseMaskColor property to True
LVL 16

Expert Comment

ID: 8181151
On what deep is your screen reolution?

Expert Comment

ID: 8182960
Check to make sure that Style is set to 1 for the command button

Expert Comment

by:Naveen Swamy
ID: 8193637
chk appearence tab on display properties

Author Comment

ID: 8197001
I wander why i would specify a maskcolor and then put usemaskcolor to false....  anyway...  :/

Thanks !!

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question