Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PictureReflectHeightPerc property 
 
Remarks
Determines how much of the picture (expressed in percentage of picture's height) will be used to reflect the picture displayed over the button surface. 
The value of this property can range from 0 (no reflectivity applied) to a value of 100 (the picture will be reflected in its entire height). Lower or higher values will be automatically capped to the nearest valid value. The default value is 50. 
Below you can see two buttons: the left one has a picture whose PictureReflectHeightPerc property is set to 20, the right one has a picture whose PictureReflectHeightPerc property is set to 100. 
     
This property has no effect if the PictureReflectivityEnabled property is set to FALSE.
Get / Set functions
 
short abmGetPictureReflectHeightPerc
HWND hWndBtn 
); 
 
void abmSetPictureReflectHeightPerc
HWND hWndBtn
short nPercentage 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nPercentage
Specifies the percentage of picture's height subject to reflectivity
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_PICTURE_REFLECT_HEIGHT_PERC
newValue
Same meaning of the nPercentage parameter described before
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index