Rediger

Del via


HDN_GETDISPINFO notification code

Sent to the owner of a header control when the control needs information about a callback header item. This notification code is sent as a WM_NOTIFY message.

HDN_GETDISPINFO

   pNMHDDispInfo = (LPNMHDDISPINFO) lParam;

Parameters

lParam

A pointer to an NMHDDISPINFO structure. On input, the fields of the structure specify what information is required and the item of interest.

Return value

Returns an LRESULT.

Remarks

Fill the appropriate members of the structure to return the requested information to the header control. If your message handler sets the mask member of the NMHDDISPINFO structure to HDI_DI_SETITEM, the header control stores the information and will not request it again.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
HDN_GETDISPINFOW (Unicode) and HDN_GETDISPINFOA (ANSI)