Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
TextCaptionAlignment property 
 
Remarks
Specifies the horizontal alignment applied to the Caption text.
Get / Set functions
 
short abmGetTextCaptionAlignment
HWND hWndBtn 
); 
 
void abmSetTextCaptionAlignment
HWND hWndBtn
short nAlign 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nAlign
Specifies the caption's alignment. Supported values are the following: 
Mnemonic constant
Value
Meaning
ALIGN_LEFT
0
The caption text is Left aligned.
ALIGN_CENTER (default)
1
The caption text is Center aligned.
ALIGN_RIGHT
2
The caption text is Right aligned.
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_CAPTION_ALIGN
newValue
Same meaning of the nAlign parameter described before
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index