Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
ShapeHeadFactor property 
 
Remarks
The head factor for shapes like arrows and keyholes. The line factor for these shapes can be modified through the ShapeLineFactor property. 
The head factor range is between 1 and 100: if the value exceeds this range, 50 will be assumed; by default the factor 50 is selected. 
Applies only when the Shape property is set to SHAPE_ARROW or SHAPE_KEYHOLE 
Here the ShapeHeadFactor property is set to 50 (default): 
 
here the ShapeHeadFactor property is set to 90: 
 
here the ShapeHeadFactor property is set to 5: 
 
all of the pictures above have the ShapeLineFactor property set to 50. 
Get / Set functions
 
short abmGetShapeHeadFactor
HWND hWndBtn 
); 
 
void abmSetShapeHeadFactor
HWND hWndBtn
short nFactor 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nFactor
Specifies the head factor.
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_SHAPE_HEAD_FACTOR
newValue
Same meaning of the nFactor parameter described before
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index