BCGControlBar Pro for MFC
static void CBCGPCalendarMenuButton::SetCalendarByCmdID ( UINT  uiCmdID,
const COleDateTime &  date 
)
inlinestatic

Given a button's command ID, changes the date of the calendar button.

This method is the same as SetDate() member function. It allows changing date for a calendar button specified by the uiCmdID parameter.

Parameters
uiCmdIDSpecifies the command ID.
dateSpecifies the new date.