Copyright © 1998-2010 MultiMedia Soft

SurfaceTransparentZone property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumTransparentZones for Visual Basic

 

 

Syntax

object.SurfaceTransparentZone [=enumTransparentZones]

 

 

Remarks

The zone affected by alpha channel transparency, set through the SurfaceTransparentFactor property,  when a special effect is applied

Notes: This property is useful only if a special effect has been applied through the SpecialEffect property.

Supported values are the following (The examples on this page are from Raised buttons):

Mnemonic constant

Value

Meaning

TRANSP_ZONE_WHOLE

0 (default)

The whole button surface is affected by transparency

3dabm_i000119

TRANSP_ZONE_OUTSIDE

1

Only the external part of the special effect is affected by transparency

3dabm_i00011a

TRANSP_ZONE_INSIDE

2

Only the internal part of the special effect is affected by transparency

3dabm_i00011b

 

 

See also

How to manage alpha channel transparency section.

How to render buttons over a picture section.