Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
Orientation property 
 
Remarks
The orientation applied to Rounded Rectangle and Gem shapes 
This property applies only if the Shape property is set to one of the following values: SHAPE_ROUNDRECT, SHAPE_GEM, SHAPE_TRIANGLE, SHAPE_TRAPEZE, SHAPE_ARROW, SHAPE_KEYHOLE, SHAPE_ALFALFA.
Get / Set functions
 
BOOL abmGetOrientation
HWND hWndBtn 
); 
 
void abmSetOrientation
HWND hWndBtn
short nOrientation 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nOrientation
Specifies the orientation value. Supported values are the following: 
Mnemonic constant
Value
Meaning
DIR_ALL
0 (default)
All of the available orientations are covered 
DIR_WEST
1
The button is West oriented 
DIR_NORTH
2
The button is North oriented 
DIR_EAST
3
The button is East oriented 
DIR_SOUTH
4
The button is South oriented 
DIR_NW
5
The button is Northwest oriented 
DIR_NE
6
The button is Northeast oriented 
DIR_SE
7
The button is Southeast oriented 
DIR_SW
8
The button is Southwest oriented 
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_ORIENTATION
newValue
Same meaning of the nOrientation parameter described before
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index