XLL+ Class Library (6.3)

CXlControlListBox Methods

The methods of the CXlControlListBox class are listed here.

Construction

public method CXlControlListBox Constructs a CXlControlListBox object, without displaying it

Behavior operations

public method GetStyle Returns the style of the list-box
public method SetStyle Sets the style of the list-box

General operations

public method GetCount Returns the number of strings in a list box
public method GetItemData Retrieves the application-supplied doubleword value associated with the specified list-box item
public method GetItemDataPtr Returns a pointer to a list-box item
public method GetSel Returns the selection state of a list-box item
public method GetText Retrieves the application-supplied doubleword value associated with the specified list-box item
public method GetTextLen Gets the length of a string in a list-box item
public method SetItemData Sets a 32-bit value associated with the specified item in a list box
public method SetItemDataPtr Sets a pointer to the list-box item

Selection operations

public method GetCurSel Returns the zero-based index of the currently selected string in a list box
public method SetCurSel Selects a list-box string

String operations

public method AddString Adds a string to a list box
public method DeleteString Deletes a string from a list box
public method FindString Searches for a string in a list box
public method FindStringExact Finds the first list-box string that matches a specified string
public method InsertString Inserts a string at a specific location in a list box
public method ResetContent Removes all items from a list box
public method SelectString Searches for and selects a string in a single-selection list box

Methods of CXlControl

Requirements

Header: xldialog.h

See Also

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