Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
CaptionWordWrapPerc property 
 
Remarks
If the caption text string is too long to fit on a single line in the button rectangle, the control wraps the text to multiple lines: with this property the user can constrain the surface percentage that will contain the text.
Get / Set functions
 
short abmGetCaptionWordWrapPerc
HWND hWndBtn 
); 
 
void abmSetCaptionWordWrapPerc
HWND hWndBtn
short nPerc 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nPerc
Specifies the percentage value. It's value range can be from 10 to 100: by default the surface percentage is 90%.
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_WORDWRAP_PERC
newValue
Same meaning of the nPerc parameter described before
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index