XLL+ Class Library (6.3)

CXlDialog::OnListBox

Event handler for list-boxes

virtual void OnListBox(
   UINT id,
   int nCurSel,
   const CXlControlListBox* ctl
);

Parameters

id

ID of the list-box.

nCurSel

New selection of the list-box.

ctl

Pointer to the control which originated the event.

Remarks

This overrideable function is called whenever the current selection of a list-box (CXlControlListBox) is changed by the user. Note that it will only be called if the list-box has been set to trigger events (see CXlControl::SetTrigger()).

Its default behaviour is to do nothing.

Requirements

Header: xldialog.h

See Also

CXlDialog Class | CXlDialog Methods