mdlDialog_listBoxAPI
The mdlDialog_listBoxXxx API
provides many ways of interacting with a ListBox .
Most of the time you use that API inside a hook function (callback function) …
case DITEM_MESSAGE_STATECHANGED:
{
ListRow* pRow …
Ray:
I am trying to get a listbox cell to be editable, but cannot get it to work.
You are right to use a ListModel , but incorrect in assuming that a ListBox can be edited.
The ListBox is merely the presentation device for a ListModel , and…
Data<=>User Interface
A ListModel is a data storage utility. You can use a ListModel independently of its usual display widget, the MDL ListBox .
However, the API blurs the distinction between data and presentation with functions like mdlListRow_setStatus…
ListBoxes & ListModels
There's an article about ListModels, ListCells, and Cell Editors .
There's an example MDL project you can obtain from that page. It shows an example dialog with a ListBox that stores a ListModel . The hooks functions in the…