Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
SurfaceTransparentZone property 
 
Remarks
The zone affected by alpha channel transparency 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  
TRANSP_ZONE_OUTSIDE
1
Only the external part of the special effect is affected by transparency  
TRANSP_ZONE_INSIDE
2
Only the internal part of the special effect is affected by transparency  
 
Further information about alpha channel transparency management can be found inside the How to manage alpha channel transparency section.
Get / Set functions
 
short abmGetSurfaceTransparentZone
HWND hWndBtn 
); 
 
void abmSetSurfaceTransparentZone
HWND hWndBtn
short nZone 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nZone
Specifies the zone affected by transparency.
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_SURFACE_TRANSP_ZONE
newValue
Same meaning of the nZone parameter described before
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index