[quote user="Jon Summers"]you need to add it to your dialog using mdlDialog_itemsLoad().[/quote]
Sorry - I should have been more clear. I do that, but it seems that only the first items is "drawn". I've worked around the issue(for now) by calling mdlDialog_itemDraw(). I was just thinking maybe I'm not doing something else correctly...
DialogItemListRsc *pListRsc = (DialogItemListRsc*)mdlResource_load(NULL, RTYPE_DialogItemList, rscId ); Point2d location ={0}; BoolInt bStatus=mdlDialog_itemsLoad(mainDbP, pListRsc, NULL, NULL, 4/*beforeItemIndex*/, &location, TRUE); long comboBoxId = pListRsc->itemList->id; mdlResource_free (pListRsc); mdlDialog_itemDraw(mainDbP, 5); // force the button to draw...
Bruce