Share

CAcTcUiCatalogView::SetInsertMark

C++

BOOL SetInsertMark(
    int nIndex, 
    BOOL bAfter = FALSE
);

Description

Draws or removes the insertion mark at the specified index. The insertion mark is removed if nIndex is -1.

If bAfter is nonzero, the insertion mark is placed after the item. If this argument is zero, the insertion mark is placed before the item.

Returns true if successful; otherwise, returns false.

Parameters

Parameters Description
nIndex Input index of the item at which to place the insertion mark, or -1 to remove the insertion mark
bAfter Input Boolean that specifies if the insertion mark is placed before or after the specified item

Links

CAcTcUiCatalogView Class

Was this information helpful?