selection的回调函数?我不清楚啊,
请指点啊
我调用do_ugopen_api() 出现选择
static void do_ugopen_api(void)
{
int irc = 0;
char cue[] = "select ";
char title[] = "test";
int response, count;
CString str;
if((UF_CALL(UF_UI_select_with_class_dialog(
cue, title, UF_UI_SEL_SCOPE_ANY_IN_ASSEMBLY,
init_proc, NULL, &response, &count, &objects))) == 0)
{
if (count==2)
{
object1=objects[0];
object2=objects[1];
******
UF_free(objects);
}
}
} |