Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
BackColorContainer property 
 
Remarks
The container background RGB (Red Green Blue) color. 
This property is used to reduce the aliasing effect that appears using rounded shapes: the anti-aliasing effect is obtained averaging the button borders with the container background color. 
If you leave this property to its default (-1), the API will try to determine the container background color, but its success is not guaranteed (usually the setting of this property is not necessary if the container has been developed using Visual Basic).
Get / Set functions
 
COLORREF abmGetBackColorContainer
HWND hWndBtn 
); 
 
void abmSetBackColorContainer
HWND hWndBtn
COLORREF color 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
color
Color that will be applied.
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_CONTAINER_BACK
newValue
Color that will be applied.
Notes
This setting can also be modified at runtime through the abmSetSurfaceColorDesc function.
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index