BCGControlBar Pro for MFC
virtual void CBCGPCalendarMenuButton::SetDate ( const COleDateTime &  date,
BOOL  bNotify = TRUE 

Change a date.

Call this member function to change a current calendar button's date. If bNotify is nonzero, than the current selected date is changed for the CBCGPCalendarBar object that pops up when the calendar button is pressed. Time fields of date parameter are ignored.

dateSpecifies the date to be displayed.
bNotifyEnforces a CBCGPCalendarBar object notification