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

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.

uiCmdIDSpecifies the command ID.
dateSpecifies the new date.