Graphisoft®

Dialog ManagerVersion: 2.0

ListView::GetSelectedItems

Retrieves the indices of the selected list view items.

short GetSelectedItems (
    short *             items,
    short               maxCount
) const;

Parameters

items
Output parameter: the selected list view items. This parameter cannot be NULL.
maxCount
The maximal number of items that can be returned in the buffer.

Return Value

The number of the returned items. If the number of the selected items is greater than maxCount, only the first maxCount items are returned in selItems.

Description

It is the task of the application to allocate the buffer for the indices of the selected items. Use the GetSelectedCount method to determine the size of the necessary buffer.