NMVIEWCHANGE structure (commctrl.h)

Stores information required to process the MCN_VIEWCHANGE notification code.

Syntax

typedef struct tagNMVIEWCHANGE {
  NMHDR nmhdr;
  DWORD dwOldView;
  DWORD dwNewView;
} NMVIEWCHANGE, *LPNMVIEWCHANGE;

Members

nmhdr

Type: NMHDR

NMHDR structure that contains information about this notification code.

dwOldView

Type: DWORD

Old view. One of the following constants.

Value Meaning
MCMV_MONTH
Monthly view.
MCMV_YEAR
Annual view.
MCMV_DECADE
Decade view.
MCMV_CENTURY
Century view.

dwNewView

Type: DWORD

New view. One of the constants listed at dwOldView.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header commctrl.h