You could try this:
1. Create a function "MyRefillList". This is an XtActionProc:
void MyRefillList(Widget w, XEvent *event, String *params, Cardinal
num )
{
/* Here you refill the combobox (passed in as w) */
}
Make sure you include a prototype visible before (3) below.
2. Override the translations of the ComboBox:
<Btn1Down>: MyRefillList() CBArmAndDropDownList()
This will cause yout MyRefillList before the dropdown is posted.
3. Add your action:
static XtActionRec myActions[] = {"MyRefillList", MyRefillList};
XtAppAddActions( appContext, myActions, XtNumber(MyACtions) );
--
Fred Kleinschmidt