Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PicturePosition property 
 
Remarks
Specifies the picture or animation position over the control.
Get / Set functions
 
short abmGetPicturePosition
HWND hWndBtn 
); 
 
void abmSetPicturePosition
HWND hWndBtn
short nPosition 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nPosition
Specifies the picture position. Supported values are the following: 
Value
Meaning
PICTPOS_CM (0 default)
Center (Horizontal) Middle (Vertical)
PICTPOS_LT (1)
Left (Horizontal) Top (Vertical)
PICTPOS_CT (2)
Center (Horizontal) Top (Vertical)
PICTPOS_RT (3)
Right (Horizontal) Top (Vertical)
PICTPOS_LM (4)
Left (Horizontal) Middle (Vertical)
PICTPOS_RM (5)
Right (Horizontal) Middle (Vertical)
PICTPOS_LB (6)
Left (Horizontal) Bottom (Vertical)
PICTPOS_CB (7)
Center (Horizontal) Bottom (Vertical)
PICTPOS_RB (8)
Right (Horizontal) Bottom (Vertical)
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_PICT_POS
newValue
Same meaning of the nPosition parameter described before
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index