Expand Minimize
0 out of 1 rated this helpful - Rate this topic

ListView_SetHotItem macro

Sets the hot item in a list-view control. You can use this macro or send the LVM_SETHOTITEM message explicitly.

Syntax


INT ListView_SetHotItem(
  HWND hwndLV,
  INT iIndex
);

Parameters

hwndLV

Type: HWND

A handle to a list-view control.

iIndex

Type: INT

The zero-based index of the item to be set as the hot item.

Return value

Returns the index of the item that was previously hot.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.