Share

CAcTcUiCatalogView::GetFirstVisibleItemIndex

C++

int GetFirstVisibleItemIndex(
    BOOL bPartialOk = TRUE
) const;

Description

Returns the zero-based index of the first visible item in the client area. The returned index is always less than the number of items.

If bPartialOk is true, the function returns the first fully or partially visible item. If it's false, it returns the first fully visible item.

Returns -1 if no item is visible or if there is no item in the view.

Parameters

Parameters Description
bPartialOk Input Boolean specifying whether a partially visible item can be returned

Links

CAcTcUiCatalogView Class

Was this information helpful?