Share

CAcTcUiCatalogView::SelectItem

C++

BOOL SelectItem(
    int nIndex, 
    BOOL bSelect = TRUE
);

Description

Selects an item. If the ACTCUI_CVSTYLE_MULTISELECT style is not set, then only one item can be selected at a time, and selecting an item automatically clears the currently selected item. If nIndex is -1, the function selects or clears all the items.

Returns true if successful; otherwise, returns false.

Parameters

Parameters Description
nIndex Input zero-based index of the item to select or clear
bSelect Input Boolean indicating whether the item is selected (the default) or cleared

Links

CAcTcUiCatalogView Class

Was this information helpful?