Upravit

Sdílet prostřednictvím


LVN_COLUMNDROPDOWN notification code

Sent by a list-view control when the list-view's drop-down button is pressed. This notification code is sent in the form of a WM_NOTIFY message.

LVN_COLUMNDROPDOWN
        
    pnmv = (LPNMLISTVIEW) lParam;

Parameters

lParam [in]

Pointer to a NMLISTVIEW structure that describes the notification code. The caller is responsible for allocating this structure, including the contained NMHDR structure. Set the members of the NMHDR structure. The code member must be set to LVN_COLUMNDROPDOWN.

Set the iItem member of the NMLISTVIEW structure to -1. Set the iSubItem member to the index of the subitem. Set the uNewState, uOldState, and lParam members to zero. The remaining members of the NMLISTVIEW structure are not used.

Return value

No return value.

Remarks

The notification receiver casts lParam to retrieve the NMLISTVIEW structure. The wParam parameter contains the ID of the control that sends the notification code.

If a header control is a child of the list-view, the header control should send this notidication code to the list-view control when the header control receives the HDN_DROPDOWN notification code.

Requirements

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