|
马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
高手,如何调出标准对话框:class selection对话框。下面是程序,看看怎么改可以调出来。谢谢各位了!
* -----------------------------------------------------------------------*/
int CHULIXIAMO_chulixiamo_cb ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data)
{ char Cue[]="选择分型面";
char Title[]="选择分型面";
int Scope=UF_UI_SEL_SCOPE_NO_CHANGE;
int Response;
int Count;
tag_t* Object;
/* Make sure User Function is available. */
if ( UF_initialize() != 0)
return ( UF_UI_CB_CONTINUE_DIALOG );
/* ---- Enter your callback code here ----- */
UF_UI_select_with_class_dialog(Cue,Title,Scope,NULL,NULL,&Response,&Count,&Object);
UF_terminate ();
/* Callback acknowledged, do not terminate dialog */
return (UF_UI_CB_CONTINUE_DIALOG);
/* or Callback acknowledged, terminate dialog. */
/* return ( UF_UI_CB_EXIT_DIALOG ); */
} |
|