4.1.1.2.5 Handling List Box Events

Event macros for use with Origin C ListBox objects include:

Macro Description
ON_LBN_SELCHANGE(_idCntrl, _ocHandler) When the selected item of the list box is changed the function _ocHandler is run. _ocHandler has the prototype:
BOOL _ocHandler(Control ctrl)

For a detailed example demonstrating how to handle a List Box event see the topic Accessing a List Box Control with Origin C.