Rediger

Del via


LVM_ENSUREVISIBLE message

Ensures that a list-view item is either entirely or partially visible, scrolling the list-view control if necessary. You can send this message explicitly or by using the ListView_EnsureVisible macro.

Parameters

wParam

The index of the list-view item.

lParam

A value specifying whether the item must be entirely visible. If this parameter is TRUE, no scrolling occurs if the item is at least partially visible.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

The message fails if the window style includes LVS_NOSCROLL.

Requirements

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