Rediger

Del via


LVN_HOTTRACK notification code

Sent by a list-view control when the user moves the mouse over an item. This notification code is only sent by list-view controls that have the LVS_EX_TRACKSELECT extended list-view style. It is sent in the form of a WM_NOTIFY message.

LVN_HOTTRACK

    lpnmlv = (LPNMLISTVIEW) lParam;

Parameters

lParam

Pointer to an NMLISTVIEW structure that contains information about this notification code. The iItem, iSubItem, and ptAction members of this structure contain information about the item. The receiving application can modify the iItem member to specify the item that will be selected. If iItem is set to -1, no item will be selected.

Return value

Return zero to allow the list view to perform its normal track select processing. If the application returns nonzero, the item will not be selected.

Requirements

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