XLL+ Class Library

CXlControlListBox Methods

The methods of the CXlControlListBox class are listed here.

Construction

public methodCXlControlListBoxConstructs a CXlControlListBox object, without displaying it

Behavior operations

public methodGetStyleReturns the style of the list-box
public methodSetStyleSets the style of the list-box

General operations

public methodGetCountReturns the number of strings in a list box
public methodGetTextRetrieves the application-supplied doubleword value associated with the specified list-box item
public methodGetTextLenGets the length of a string in a list-box item
public methodGetItemDataRetrieves the application-supplied doubleword value associated with the specified list-box item
public methodSetItemDataSets a 32-bit value associated with the specified item in a list box
public methodGetItemDataPtrReturns a pointer to a list-box item
public methodSetItemDataPtrSets a pointer to the list-box item
public methodGetSelReturns the selection state of a list-box item

Selection operations

public methodGetCurSelReturns the zero-based index of the currently selected string in a list box
public methodSetCurSelSelects a list-box string

String operations

public methodAddStringAdds a string to a list box
public methodInsertStringInserts a string at a specific location in a list box
public methodDeleteStringDeletes a string from a list box
public methodResetContentRemoves all items from a list box
public methodFindStringSearches for a string in a list box
public methodFindStringExactFinds the first list-box string that matches a specified string
public methodSelectStringSearches for and selects a string in a single-selection list box

Methods of parent class

Requirements

Header: xldialog.h

See Also

CXlControlListBox Class | xldialog.h | CXlDialog object | CXlControl object