Copyright © 2002-2005 MultiMedia Soft 
Return to index  
 
Shape property 
 
Remarks
Specifies the shape of the button.
Get / Set functions
 
short abmGetShape
HWND hWndBtn 
); 
 
void abmSetShape
HWND hWndBtn
short nShape 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nShape
The shape value. Supported values are the following: 
Mnemonic constant
Value
Meaning
SHAPE_RECTANGLE
0 (default)
Rectangle 
SHAPE_ROUNDRECT
1
Rounded Rectangle 
SHAPE_PARALLEL
2
Parallelogram 
SHAPE_ELLIPSE
3
Ellipse 
SHAPE_GEM
4
Gem 
SHAPE_CUSTOM
5
Custom: the shape is determined by the PictureCustom property. By default, if no Picture has been entered in PictureCustom property, an octagonal shape is used. 
The following is an example of a custom shaped button, a puffy cloud.   
SHAPE_TRIANGLE
6
Triangle 
SHAPE_TRAPEZE
7
Trapeze 
SHAPE_ARROW
8
Arrow 
SHAPE_HONEYCOMB_V
9
Vertical honeycomb 
SHAPE_HONEYCOMB_H
10
Horizontal honeycomb 
SHAPE_HONEYCOMB_45
11
45º honeycomb 
SHAPE_HONEYCOMB_135
12
135º honeycomb 
SHAPE_DIAMOND
13
Diamond 
SHAPE_KEYHOLE
14
Keyhole 
SHAPE_4LEAFCLOVER_V
15
Vertical four leaf clover 
SHAPE_4LEAFCLOVER_D
16
Diagonal four leaf clover 
SHAPE_ALFALFA
17
Alfalfa 
 
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
newValue
Same meaning of the nShape parameter described before
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2005 MultiMedia Soft 
Return to index