BCGControlBar Pro for MFC
void CBCGPDurationCtrl::SetAutoResize ( BOOL  bAutoResize = TRUE)
inline

Enables or disables automatic resizing.

Call this function to enable or disable automatic resizing of control. When automatic resizing is enabled, the control size is adjusted according to currently selected font. Otherwise, the internal control layout is adjusted to fit the current client size.

Parameters
bAutoResizeIf TRUE, automatic resizing is enabled. If FALSE, automatic resizing is disabled.