SECCalendar::GetBehaviorMode

longSECCalendar::GetBehaviorMode(void)

Retrieves the flags for current behavior mode.

Defined in: Calendar.cpp

Return Value

The behavior mode for the calendar:

SECBM_AUTOSIZE_FONT

Automatically sizes the font to fit the window.

SECBM_AUTOSIZE_RECT

Automatically sizes the rectangle to fit the parent window.

SECBM_SINGLE_DATE

Only allows a single date to be selected.

SECBM_MONTH_BUTTONS

Displays the buttons used to scroll one month forward or one month backward.

SECBM_YEAR_BUTTONS

Displays the buttons used to scroll one year forward or one year backward.

SECBM_KEYBOARD_CONTROL

Allows navigation of the calendar using the keyboard.

SECBM_MONTH_FROZEN

Freezes the currently displayed month.

SECBM_AUTO_HIDE

Sets the auto hide mode of the calendar. If set, the calendar will hide itself after a day is selected.

See Also

SECCalendar  SetBehaviorMode