Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
SpecialEffect property 
 
Remarks
Specifies the special effect applied to the button surface.
Get / Set functions
 
short abmGetSpecialEffect
HWND hWndBtn 
); 
 
void abmSetSpecialEffect
HWND hWndBtn
short nEffect 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nEffect
Specifies the special effect applied. 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. 
 
The amount of this effect can be modified through the SpecialEffectFactor property. 
Container function
 
short abmContainerSetting
HWND hWndContainer
short nSetting
long newValue 
); 
 
Parameters
Description
hWndContainer
Windows handle associated to the button container.
nSetting
Must be set to SET_SPECIAL_EFFECT
newValue
Same meaning of the nEffect parameter described before
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index