Share

CAcTcUiCatalogView::SelectItemRange

C++

BOOL SelectItemRange(
    int nStartIndex, 
    int nEndIndex, 
    BOOL bSelect = TRUE
);

Description

Use this function to select or clear a range of items. If ACTCUI_CVSTYLE_MULTISELECT style is not set, only the item at the start index is selected.

Returns true if successful; otherwise, returns false.

Parameters

Parameters Description
nStartIndex Input zero-based starting index in the range of items to select
nEndIndex Input zero-based ending index in the range of items to select
bSelect Input Boolean indicating whether the item is selected (the default) or cleared

Links

CAcTcUiCatalogView Class

Was this information helpful?