Unicode Controls & Classes for VB6 - Version 4

ctlUniButtonImageXP.TransparentColor Property

Gets or sets the Color to treat as a transparent color when rendering the image in the control

Syntax
Public Property Get TransparentColor () As OLE_COLOR
Public Property Let TransparentColor (ByVal iValue As OLE_COLOR)
Parameters
Parameter Description
ByVal iValue As OLE_COLOR The transparent color
Remarks
If you use 32bpp alpha images you can only add a transparent color to those already transparent
If your 32bpp alpha image is transparent and you choose eUniImage_TranspType_AsIs, the image will remain transparent