这个按钮回掉函数调用的 单对象选择框
int DISASM_selcet_part_act_cb ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data)
{
/* Make sure User Function is available. */
if ( UF_initialize() != 0)
return ( UF_UI_CB_CONTINUE_DIALOG );
/* ---- Enter your callback code here ----- */
char sCue[] = "对象选择对话框";
char sTitle[] = "title total";
int iScope = UF_UI_SEL_SCOPE_NO_CHANGE;
int iResponse;
tag_t tObject,tView;
double adCursor[3];
UF_CALL(UF_UI_select_with_single_dialog(sCue,sTitle,iScope,init_proc,NULL,
&iResponse,&tObject,adCursor,&tView));
UF_terminate ();
/* Callback acknowledged, do not terminate dialog */
return (UF_UI_CB_CONTINUE_DIALOG);