这是从solid edge 版转过来的。感谢HZ,感谢神医。作者: dhj007 时间: 2004-5-7 16:02
好!谢谢!顶!作者: mickey 时间: 2004-5-15 00:41
Thankyou作者: chunsong2000 时间: 2004-7-20 09:54
我顶作者: zcyq2003 时间: 2004-8-17 09:30 作者: iszp 时间: 2004-9-2 22:07
斑竹你好:我在UIStyler对话框中能显示uc1601中的内容,却总是不能调用UF_UI_select_with_single_dialog,请指点
/* -------------------------------------------------------------------------
* Callback Name: TUTAI_action_position_tool_cb
* This is a callback function associated with an action taken from a
* UIStyler object.
*
* Input: dialog_id - The dialog id indicate which dialog this callback
* is associated with. The dialog id is a dynamic,
* unique id and should not be stored. It is
* strictly for the use in the UG/Open API:
* UF_STYLER_ask_value(s)
* UF_STYLER_set_value
* client_data - Client data is user defined data associated
* with your dialog. Client data may be bound
* to your dialog with UF_MB_add_styler_actions
* or UF_STYLER_create_dialog.
* callback_data - This structure pointer contains information
* specific to the UIStyler Object type that
* invoked this callback and the callback type.
* -----------------------------------------------------------------------*/
int TUTAI_action_position_tool_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 );