BCGControlBar Pro for MFC
static BOOL CBCGPToolbarDateTimeCtrl::SetTimeAll ( UINT  uiCmd,
LPSYSTEMTIME  pTimeNew = NULL 
)
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.
pTimeNewA pointer to CTime object containing the time to which the control will be set.