Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
ShadowColor property 
 
Remarks
The color used to render the shadow under the button when the ShadowMode property has a value different from SHADOW_NONE (0). 
If you leave this property to an undefined state (-1), the API will be able to calculate the optimal shadow color in relation to the current surface color. 
This property can also be applied to modify the color used to shadow the sunken effect on a custom shaped flat button.  
Get / Set functions
 
ULONG abmGetShadowColor
HWND hWndBtn 
); 
 
void abmSetShadowColor
HWND hWndBtn
ULONG color 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
color
Specifies the color for the shadowed edge.
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_COLOR_SHADOW
newValue
Same meaning of the color parameter described before
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index