BCGControlBar Pro for MFC
static BOOL CBCGPToolbarDateTimeCtrl::SetTimeAll ( UINT  uiCmd,
const COleDateTime &  timeNew 
)
static

Looks for a toolbar button with the specified command ID and sets the time in a date and time picker control.

Returns
Nonzero if successful; it is 0 if uiCmd does not specify a valid command ID.
Parameters
uiCmdSpecifies a toolbar button's command ID.
timeNewA reference to a COleDateTime object containing the time to which the control will be set.