NMREBAR structure (commctrl.h)

Contains information used in handling various rebar notifications.

Syntax

typedef struct tagNMREBAR {
  NMHDR  hdr;
  DWORD  dwMask;
  UINT   uBand;
  UINT   fStyle;
  UINT   wID;
  LPARAM lParam;
} NMREBAR, *LPNMREBAR;

Members

hdr

Type: NMHDR

NMHDR structure that contains additional information about the notification.

dwMask

Type: DWORD

Set of flags that define which members of this structure contain valid information. This can be one or more of the following values:

Value Meaning
RBNM_ID
The wID member contains valid information.
RBNM_LPARAM
The lParam member contains valid information.
RBNM_STYLE
The fStyle member contains valid information.

uBand

Type: UINT

Zero-based index of the band affected by the notification. This will be -1 if no band is affected.

fStyle

Type: UINT

The style of the band. This is one or more of the RBBS_ styles detailed in the fStyle member of the REBARBANDINFO structure. This member is only valid if dwMask contains RBNM_STYLE.

wID

Type: UINT

Application-defined identifier of the band. This member is only valid if dwMask contains RBNM_ID.

lParam

Type: LPARAM

Application-defined value associated with the band. This member is only valid if dwMask contains RBNM_LPARAM.

Requirements

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