BCGControlBar Pro for MFC
virtual void CBCGPToolbarDateTimeCtrl::SetStyle ( UINT  nStyle)

Sets a toolbar button's-specific style.

This function is called when it is required to set a new button's style. It enables or disables the internal DTP-control according to the new style.

For example, a DTP-control becomes non-editable in customize mode.

nStyleSpecifies the style to set.

Reimplemented from CBCGPToolbarButton.