Struct winsafe::gui::events::MonthCalendarEvents [−][src]
pub struct MonthCalendarEvents { /* fields omitted */ }
Expand description
Exposes month calendar control notifications.
These event methods are just proxies to the
WindowEvents
of the parent window,
who is the real responsible for the child event handling.
You cannot directly instantiate this object, it is created internally by the control.
Implementations
pub fn mcn_get_day_state<F>(&self, func: F) where
F: Fn(&NMDAYSTATE<'_>) -> BoxResult<()> + 'static,
pub fn mcn_get_day_state<F>(&self, func: F) where
F: Fn(&NMDAYSTATE<'_>) -> BoxResult<()> + 'static,
MCN_GETDAYSTATE
notification.
Sent by a month calendar control to request information about how
individual days should be displayed. This notification code is sent
only by month calendar controls that use the
MCS_DAYSTATE
style
MCN_GETDAYSTATE
notification.
Sent by a month calendar control when the currently selected date or range of dates changes.
MCN_SELECT
notification.
Sent by a month calendar control when the user makes an explicit date selection within a month calendar control.
pub fn mcn_view_change<F>(&self, func: F) where
F: Fn(&NMVIEWCHANGE) -> BoxResult<()> + 'static,
pub fn mcn_view_change<F>(&self, func: F) where
F: Fn(&NMVIEWCHANGE) -> BoxResult<()> + 'static,
MCN_VIEWCHANGE
notification.
Sent by a month calendar control when the current view changes.
NM_RELEASEDCAPTURE
notification.
Notifies that the control is releasing mouse capture.