HD_NOTIFY  46_S_T0 

The HD_NOTIFY structure contains information used to process notification messages from a header control.

typedef struct _HD_NOTIFY {   // hdn

    NMHDR         hdr;

    int           iItem;

    int           iButton;

    HD_ITEM FAR*  pitem;

} HD_NOTIFY;

 

Members

hdr

Specifies a NMHDR99J.0 structure. The code member of this structure identifies the notification message being sent. It can be one of the following notification codes: HDN_BEGINTRACK1T0JZSH, HDN_DIVIDERDBLCLICK8P3374, HDN_ENDTRACK2CBCZJ8, HDN_ITEMCHANGED68KNCI, HDN_ITEMCHANGING3N8KX8, HDN_ITEMCLICK35DWXCC, or HDN_TRACK195.UQ4.

iItem

Specifies the index of item associated with notification.

iButton

Specifies the index of the mouse button involved in generating the notification message. This member can be one of these values:

Value

Meaning

0

Left button

1

Right button

2

Middle button

 

pitem

Pointer to an HD_ITEM structure that contains information about the header item associated with the notification message.

 

Remarks

When a header control sends the HDN_BEGINTRACK, HDN_DIVIDERDBLCLICK, HDN_ENDTRACK, HDN_ITEMCHANGED, HDN_ITEMCHANGING, HDN_ITEMCLICK, or HDN_TRACK notification codes, it passes a pointer to an HD_NOTIFY structure as the lParam parameter of a WM_NOTIFY message.

See Also

HD_ITEMZTW0WO, HDN_BEGINTRACK1T0JZSH, HDN_DIVIDERDBLCLICK8P3374, HDN_ENDTRACK2CBCZJ8, HDN_ITEMCHANGED68KNCI, HDN_ITEMCHANGING3N8KX8, HDN_ITEMCLICK35DWXCC, HDN_TRACK195.UQ4, WM_NOTIFY1MZT7BR