BCGControlBar Pro for MFC
void CBCGPRibbonEdit::EnableSpinButtons ( int  nMin,
int  nMax 
)

Shows or hides spin buttons at the right side of edit control.

It is useful for number fields with predefined minimum and maximum.

Parameters
nMinSpecifies minimum value.
nMaxSpecifies maximal value.