XLL+ Class Library

CXlControlListBox Class

[C++]
class CXlControlListBox

Overview

The CXlControlListBox class instantiates a list-box. The selected item of the field can be read and set by calling GetCurSel() and SetCurSel().

Items can be added to the list-box using AddString(). Most other methods of single-selection list-boxes familiar from the MFC CListBox class are also supported.

If the control's trigger state is set with SetTrigger() then the CDialog::OnListBox() event handler will be inkoked whenever the user changes the selection.

Methods of parent class

Requirements

Header: xldialog.h

See Also

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