Share

CAcTcUiCatalogView::GetLastVisibleItemIndex

C++

int GetLastVisibleItemIndex(
    BOOL bPartialOk = TRUE
) const;

Description

Returns the zero-based index of the last 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 last fully or partially visible item. If it's false, it returns the last 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?