Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
VistaGlossyShape property 
 
Remarks
The shape applied to the glossy effect. 
For further details about settings for the Vista's Aero style, see the How to manage colors of Vista's Aero style tutorial.
Get / Set functions
 
short abmGetVistaGlossyShape
HWND hWndBtn 
); 
 
void abmSetVistaGlossyShape
HWND hWndBtn
short value 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
value
The shape of the glossy effect. Supported values are the following: 
Mnemonic constant
Value
Meaning
VISTA_GLOSSY_SHAPE_RECT
0 (default)
The glossy shape is rectangular 
VISTA_GLOSSY_SHAPE_ELLIPSE_LARGE
1
The glossy shape is a large ellipse 
VISTA_GLOSSY_SHAPE_ELLIPSE_MIDDLE
2
The glossy shape is a middle sized ellipse 
VISTA_GLOSSY_SHAPE_ELLIPSE_SMALL
3
The glossy shape is a small ellipse 
 
The shape of the glossy effect can be kept smoother using the VistaGlossySmoothFactor 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_VISTA_GLOSSY_SHAPE
newValue
Color that will be applied.
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index