ATTR_AUTO_SIZING

Type: Control attribute
Description: Specifies whether the button is automatically resized when you programmatically change its text.
Control Types: Command buttons, toggle buttons.
Data Type: integer
Default Value: VAL_GROW_ONLY

Values

VAL_ALWAYS_AUTO_SIZE Command button is always resized to fit its text.
VAL_GROW_ONLY Command button is resized when the text does not fit in the button.
VAL_SHRINK_ONLY Command button is resized when the text is smaller than the button.
VAL_NEVER_AUTO_SIZE Command button is never resized.