Copyright © 1998-2015 MultiMedia Soft

SpecialEffect property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumSpecEffects for Visual Basic

 

 

Syntax

object.SpecialEffect [=enumSpecEffects]

 

 

Remarks

The special effect applied to the button surface.

Supported values are the following:

Mnemonic constant

Value

Meaning

SPECIAL_EFFECT_NONE

0 (default)

No special effect applied.

3dabm_i000035

SPECIAL_EFFECT_RAISED

1

A raised special effect is applied to the button surface.

3dabm_i000036

SPECIAL_EFFECT_SUNKEN

2

A sunken special effect is applied to the button surface.

3dabm_i000037

SPECIAL_EFFECT_SUNKEN_SIMPLE

3

A simpler sunken special effect is applied to the button surface.

3dabm_i000038

 

NOTE: if you have set a special effect, it's possible to define different colors for the internal and external portions of the button as seen on the image below:

 

3dabm_i0000dd

 

For further details about colors change, see the How to change the button colors section.

The amount of this effect can be modified through the SpecialEffectFactor property.