Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
SpecialEffect property 
 
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. 
SPECIAL_EFFECT_RAISED
1
A raised special effect is applied to the button surface. 
SPECIAL_EFFECT_SUNKEN
2
A sunken special effect is applied to the button surface. 
SPECIAL_EFFECT_SUNKEN_SIMPLE
3
A simpler sunken special effect is applied to the button surface. 
 
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: 
 
 
 
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. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index