BCGControlBar Pro for MFC
void CBCGPProp::EnableSpinControl ( BOOL  bEnable = TRUE,
int  nMin = 0,
int  nMax = 0 
)

Enables or disables spin control used to increment/decrement property value.

Use this function to enables or disable in-place spin control. A spin control will be created automatically by the framework when a property is about to be edited.

The property value must be one of the following types: VT_I2, VT_I4, VT_UI2, VT_UI4. Otherwise the function asserts in debug mode.

Parameters
bEnableTRUE - enable spin control, FALSE - disable spin control.
nMinSpecifies the minimal value.
nMaxSpecifies the maximal value.