XLL+ Class Library (7.0)

CXlWizExUIListProvider::GetListText

Returns the display string of the specified item in the value list

virtual size_t GetListText(
   size_t index
);

Parameters

index

The zero-based index of the item whose value is to be returned.

Return Value

Returns a string containing the text to be displayed in the drop-down list.

Remarks

The standard behavior is to return the value, followed by " - " and then the description, e.g. Value1 - Description of Value1. To change the behavior, derive a class from CXlWizExUIListProvider, and override this virtual method.

Requirements

Header: xlwizexui.h

See Also

CXlWizExUIListProvider Class | CXlWizExUIListProvider Methods