BCGSuite for MFC
void CBCGPCalendarBar::SetState ( UINT  flags,
UINT  mask 
)

Sets state for various parts of the calendar bar control (extended style)

Call this function to set the state of control parts. You can control the following bits of the input parameters:

  • CBR_WEEKDAYSEL: ability to select week days is enabled
  • CBR_WEEKNUMBER: display week numbers
  • CBR_MULTISELECTION: ability to select several days using Ctrl key
  • CBR_NAVIGATION_BUTTONS: show navigation buttons
Parameters
flagsSpecifies parts state.
maskSpecifies a mask whose part states should be changed during modification.