Click here for NewsObjects Overview
GetNumberSelected Method (Feed Control)
Windows - Visual C++


Description
The GetNumberSelected method returns the number of items selected in the list box. The GetNumberSelected method only applies to multiple selection list boxes.

Syntax
long value = GetNumberSelected();

The GetNumberSelected syntax has these parts:

Part

Description

value

A long integer containing the number of items selected in a multiple selection list box.

Remarks
If you call the GetNumberSelected method and the MultipleSelection property is set to FALSE, it will always return a value of -1.

You can use GetSelectedItem to determine which items are selected.

See Also: GetSelectedItem

Back to: Feed Methods