共用方式為


CListCtrl::IsItemVisible

Indicates whether a specified item in the current list-view control is visible.

BOOL IsItemVisible(
          int index
) const;

Parameters

Parameter

Description

[in] index

Zero-based index of an item in the current list-view control.

Return Value

true if the specified item is visible;otherwise, false.

Remarks

This method sends the LVM_ISITEMVISIBLE message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This control is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Concepts

CListCtrl Class

CListCtrl Members

Hierarchy Chart

LVM_ISITEMVISIBLE