Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
SwapEffectsColors property 
 
Remarks
When a special effect has been selected through the SpecialEffect property, swaps the colors set for the external and internal portions of the button's surface. 
Below you can see two buttons whose SpecialEffect property has been set to SPECIAL_EFFECT_RAISED. The button on the left has the BackColor property set to a light blue and the BackColorInterior property set to red. The button on the right has exactly the same color settings but the SwapEffectsColors property has been set to TRUE, resulting in a swap of the involved colors. 
 
Get / Set functions
 
short abmGetSwapEffectsColors
HWND hWndBtn 
); 
 
void abmSetSwapEffectsColors
HWND hWndBtn
BOOL bSwapEffectsColors 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
bSwapEffectsColors
Determines if colors must be swapped. Supported values are the following: 
Value
Meaning
FALSE (default)
Colors are not swapped.
TRUE
Colors are swapped.
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_SWAP_EFFECTS_COLORS
newValue
Same meaning of the bSwapEffectsColors parameter described before
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index