Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 1.8 KB

hdn-itemclick.md

File metadata and controls

73 lines (42 loc) · 1.8 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
HDN_ITEMCLICK notification code (Commctrl.h)
Notifies a header control's parent window that the user clicked the control. This notification code is sent in the form of a WM\_NOTIFY message.
25ed0070-5891-4f36-9ae0-fc04e064401f
HDN_ITEMCLICK notification code Windows Controls
apiref
HDN_ITEMCLICK
HDN_ITEMCLICKA
HDN_ITEMCLICKW
Commctrl.h
HeaderDef
reference
05/31/2018

HDN_ITEMCLICK notification code

Notifies a header control's parent window that the user clicked the control. This notification code is sent in the form of a WM_NOTIFY message.

HDN_ITEMCLICK

    pNMHeader = (LPNMHEADER) lParam; 

Parameters

lParam

A pointer to an NMHEADER structure that identifies the header control and specifies the index of the header item that was clicked and the mouse button used to click the item. The pItem member is set to NULL.

Return value

No return value.

Remarks

A header control sends this notification code after the user releases the left mouse button.

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_ITEMCLICKW (Unicode) and HDN_ITEMCLICKA (ANSI)