在1.dlg中加入2.dlg中程序生成的如下类似的代码:
#define EDIT_CB_COUNT ( 7 + 1 )
static UF_STYLER_callback_info_t EDIT_cbs[EDIT_CB_COUNT] =
{
{UF_STYLER_DIALOG_INDEX, UF_STYLER_CONSTRUCTOR_CB , 0, EDIT_cons},
{UF_STYLER_DIALOG_INDEX, UF_STYLER_DESTRUCTOR_CB , 0, EDIT_dest},
{UF_STYLER_DIALOG_INDEX, UF_STYLER_OK_CB , 0, EDIT_ok},
{UF_STYLER_DIALOG_INDEX, UF_STYLER_APPLY_CB , 0, EDIT_apply_cb},
{UF_STYLER_DIALOG_INDEX, UF_STYLER_CANCEL_CB , 0, EDIT_cancel},
{UF_STYLER_DIALOG_INDEX, UF_STYLER_FILEOP_CB , 0, EDIT_open},
{EDIT_BLO_4 , UF_STYLER_ACTIVATE_CB , 0, EDIT_edit_view},
{UF_STYLER_NULL_OBJECT, UF_STYLER_NO_CB, 0, 0 }
}; |