Expand Minimize

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 XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft