ListView_GetSelectedColumn
TOC
Collapse the table of content
Expand the table of content

ListView_GetSelectedColumn macro

Gets an integer that specifies the selected column. You can use this macro or send the LVM_GETSELECTEDCOLUMN message explicitly.

Syntax


UINT ListView_GetSelectedColumn(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

Return value

Returns a UINT that specifies the selected column.

Remarks

To use ListView_GetSelectedColumn, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft