void comboClick()
{
LBG_LISTITEM* item;
if(comboboxForeign->chosen_option!=NULL)
{
printf(comboboxForeign->chosen_option->caption);
}
else printf("No selected");
}
...
comboboxForeign = LBG_create_combobox(window_menu,30, 110, 256, 16, 4, "Select the language", LBG_ebmaps(editbox_left_tga,editbox_middle_tga,editbox_right_tga), 16, 16, 224, &listbox_bmaps, LBG_bbmaps(combobox_button1_tga,combobox_button2_tga,combobox_button3_tga,combobox_button1_tga,combobox_button2_tga,combobox_button1_tga), CBF_SHOW);
LBG_create_listitem (comboboxForeign->menu, 100, strSpanish, 0);
LBG_create_listitem (comboboxForeign->menu, 100, strEnglish, 0);
LBG_create_listitem (comboboxForeign->menu, 100, strChinese, 0);
comboboxForeign->Open=comboClick;
comboboxForeign->Close=comboClick;
comboboxForeign->Destroy=comboClick;