亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? block.cpp

?? 應用visual c++ 6.0的UG二次開發(fā)內(nèi)部模式演示程序。VC創(chuàng)建MFC菜單項目
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
      $UGII_VENDOR_DIR/application directory

1) Remove the conditional definitions:
   #ifdef DISPLAY_FROM_USER_EXIT 
   #endif DISPLAY_FROM_USER_EXIT 
2) Add a user exit to the function name below, for example, ufusr.
3) Consider how your shared library will be unloaded.  Take a look
   at the generated function ufusr_ask_unload.
--------------------------------------------------------------*/

#ifdef DISPLAY_FROM_USER_EXIT
extern void <enter a valid user exit here> (char *param, int *retcode, int rlen)
{
    int  response   = 0;
    int  error_code = 0;
 
    if ( ( UF_initialize() ) != 0 ) 
           return;

    if ( ( error_code = UF_STYLER_create_dialog ( "block.dlg",
           BLOCK_cbs,      /* Callbacks from dialog */
           BLOCK_CB_COUNT, /* number of callbacks*/
           NULL,        /* This is your client data */
           &response ) ) != 0 )
    {
          char fail_message[133];

          /* Get the user function fail message based on the fail code.*/
          UF_get_fail_message(error_code, fail_message);
          UF_UI_set_status (fail_message);
          printf ( "%s\n", fail_message ); 
    }


    UF_terminate();                             
    return;
}




/*--------------------------------------------------------------------------
This function specifies how a shared image is unloaded from memory          
within Unigraphics. This function gives you the capability to unload an     
internal NX Open application or user  exit from Unigraphics.  You can       
specify any one of the three constants as a return value to determine       
the type of unload to perform:  immediately after user function             
execution, via an unload selection dialog, or when Unigraphics terminates   
terminates.  If you choose UF_UNLOAD_SEL_DIALOG, then you have the          
option to unload your image by selecting  File->Utilities->Unload Shared    
Image. 

NOTE:  A program which associates NX Open applications with the menubar     
MUST NOT use this option since it will UNLOAD your NX Open application image
--------
from the menubar.
--------------------------------------------------------------------------*/

extern int ufusr_ask_unload (void)
{
     /* unload immediately after application exits*/
     return ( UF_UNLOAD_IMMEDIATELY );

     /*via the unload selection dialog... */
     /*return ( UF_UNLOAD_SEL_DIALOG );   */
     /*when UG terminates...              */
     /*return ( UF_UNLOAD_UG_TERMINATE ); */
}



/*--------------------------------------------------------------------------
You have the option of coding the cleanup routine to perform any housekeeping
chores that may need to be performed.  If you code the cleanup routine, it is
automatically called by Unigraphics.
--------------------------------------------------------------------------*/
extern void ufusr_cleanup (void)
{
    return;
}
#endif /* DISPLAY_FROM_USER_EXIT */ 






/*-------------------------------------------------------------------------*/
/*---------------------- UIStyler Callback Functions ----------------------*/
/*-------------------------------------------------------------------------*/

/* -------------------------------------------------------------------------
 * Callback Name: BLOCK_construction
 * 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 NX 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 BLOCK_construction ( 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 ----- */

     UF_terminate ();

    /* Callback acknowledged, do not terminate dialog */
    return (UF_UI_CB_CONTINUE_DIALOG); 
    /* A return value of UF_UI_CB_EXIT_DIALOG will not be accepted    */
    /* for this callback type.  You must continue dialog construction.*/

}


/* -------------------------------------------------------------------------
 * Callback Name: BLOCK_destruction
 * 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 NX 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 BLOCK_destruction ( 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 ----- */

     UF_terminate ();

    /* Callback acknowledged, do not terminate dialog.              */
    /* A return value of UF_UI_CB_EXIT_DIALOG will not be accepted  */
    /* for this callback type.  You must continue dialog destruction*/
    return (UF_UI_CB_CONTINUE_DIALOG); 

}


/* -------------------------------------------------------------------------
 * Callback Name: BLOCK_ok_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 NX 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 BLOCK_ok_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 ----- */

     UF_terminate ();

    /* Callback acknowledged, terminate dialog             */
    /* It is STRONGLY recommended that you exit your       */
    /* callback with UF_UI_CB_EXIT_DIALOG in a ok callback.*/
    /* return ( UF_UI_CB_EXIT_DIALOG );                    */
    return (UF_UI_CB_EXIT_DIALOG);                           

}


/* -------------------------------------------------------------------------
 * Callback Name: BLOCK_cancel_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 NX 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 BLOCK_cancel_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 ----- */

     UF_terminate ();

    /* Callback acknowledged, terminate dialog             */
    /* It is STRONGLY recommended that you exit your       */
    /* callback with UF_UI_CB_EXIT_DIALOG in a cancel call */
    /* back rather than UF_UI_CB_CONTINUE_DIALOG.          */
    return ( UF_UI_CB_EXIT_DIALOG );                       

}


/* -------------------------------------------------------------------------
 * Callback Name: BLOCK_para_database_act_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 NX 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 BLOCK_para_database_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 ----- */

     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 );               */

}


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区久久| 色综合天天综合狠狠| 成人黄动漫网站免费app| 欧美亚洲综合一区| 国产精品沙发午睡系列990531| 免费视频最近日韩| 欧美吻胸吃奶大尺度电影 | 亚洲黄色尤物视频| 国产精品一区专区| 精品国产伦一区二区三区免费| 亚洲美女在线国产| www.在线欧美| 国产丝袜在线精品| 狠狠色丁香婷婷综合久久片| 欧美一级在线观看| 亚洲国产一区二区a毛片| 91麻豆免费观看| 国产欧美一区二区在线观看| 另类小说色综合网站| 欧美福利视频一区| 午夜不卡在线视频| 欧美日韩黄色影视| 亚洲一区二区在线观看视频| 99re成人在线| 日韩毛片在线免费观看| 成人精品鲁一区一区二区| 国产清纯白嫩初高生在线观看91 | 精品一区二区三区在线观看国产| 欧美午夜电影网| 亚洲二区视频在线| 欧美日韩国产免费一区二区 | 亚洲综合激情网| 色婷婷综合中文久久一本| 中文字幕高清不卡| 91在线视频免费91| 自拍偷自拍亚洲精品播放| 99国产精品视频免费观看| 中文字幕亚洲欧美在线不卡| 成人高清视频免费观看| 中文字幕国产精品一区二区| a在线欧美一区| 亚洲精品综合在线| 不卡区在线中文字幕| 亚洲视频一二三区| 欧美在线观看你懂的| 肉丝袜脚交视频一区二区| 51精品秘密在线观看| 老鸭窝一区二区久久精品| 国产日韩欧美不卡| 99久久久国产精品| 午夜欧美一区二区三区在线播放| 5566中文字幕一区二区电影| 国产在线精品一区二区三区不卡| 久久精品无码一区二区三区| 99久久伊人网影院| 亚洲成人三级小说| 精品处破学生在线二十三| 成人动漫av在线| 亚洲成人资源网| 久久人人爽爽爽人久久久| 99久久综合99久久综合网站| 亚洲第一主播视频| 久久综合色8888| av一本久道久久综合久久鬼色| 亚洲资源中文字幕| 久久久美女毛片| 色综合一区二区三区| 婷婷六月综合网| 国产日韩影视精品| 欧美性xxxxxxxx| 国产精品一区二区你懂的| 一区二区三区波多野结衣在线观看 | 成人白浆超碰人人人人| 亚洲线精品一区二区三区| 久久精品欧美日韩| 欧美日韩美女一区二区| 国产精品亚洲视频| 日本欧美肥老太交大片| 中文字幕一区二| 2024国产精品视频| 精品视频一区二区三区免费| 成人网男人的天堂| 久久草av在线| 午夜伦欧美伦电影理论片| 国产精品情趣视频| 日韩精品专区在线影院重磅| 欧美最猛黑人xxxxx猛交| 国产精品456| 日韩电影免费在线| 亚洲一区在线免费观看| 亚洲欧洲成人精品av97| 精品电影一区二区三区| 91精品国产综合久久久久久漫画| 色综合天天狠狠| 成人精品国产免费网站| 国产伦理精品不卡| 美女一区二区三区在线观看| 亚洲国产你懂的| 亚洲精品免费看| 亚洲欧洲三级电影| 国产精品亲子乱子伦xxxx裸| 精品999在线播放| 日韩一区二区免费在线电影| 欧美精品丝袜中出| 欧美天堂一区二区三区| 日本精品一区二区三区四区的功能| 国产风韵犹存在线视精品| 精品一区二区综合| 狠狠色丁香久久婷婷综| 精品一区二区在线播放| 国内成人自拍视频| 国产一区二区网址| 国产一区二区三区av电影| 精品亚洲porn| 国产一区欧美二区| 国产精品2024| av电影天堂一区二区在线 | 亚洲精品日韩一| 亚洲精品五月天| 亚洲国产综合色| 亚洲成av人影院| 蜜臀久久久久久久| 国内成人免费视频| 99久久夜色精品国产网站| 色婷婷av一区| 91精品国产综合久久久久久久久久| 欧美一级二级在线观看| 久久天堂av综合合色蜜桃网| 日本一区二区三区在线观看| 国产精品福利av| 亚洲图片欧美综合| 久久国产夜色精品鲁鲁99| 国产精品一区二区免费不卡| 91免费在线看| 91精品免费观看| 国产日韩欧美高清在线| 一区二区三区在线播| 婷婷国产v国产偷v亚洲高清| 美女国产一区二区| 国产成人精品在线看| 日本电影欧美片| 精品欧美一区二区在线观看 | 色婷婷综合中文久久一本| 欧美老人xxxx18| 久久久五月婷婷| 一区二区三区毛片| 韩日av一区二区| 91视视频在线观看入口直接观看www | 亚洲精品乱码久久久久久久久 | 99久久99久久免费精品蜜臀| 欧美体内she精视频| 欧美成人福利视频| 欧美韩国日本综合| 一级做a爱片久久| 激情综合亚洲精品| 色婷婷av一区二区三区大白胸| 欧美一区二区三区人| 中文字幕一区二区5566日韩| 亚洲h在线观看| 懂色一区二区三区免费观看| 欧美亚洲另类激情小说| wwww国产精品欧美| 亚洲午夜一二三区视频| 国产精品99久久久| 欧美韩日一区二区三区| 亚洲欧洲99久久| 免费高清在线视频一区·| 99久久亚洲一区二区三区青草| 日韩精品资源二区在线| 亚洲午夜在线电影| 99久久精品国产毛片| 精品久久99ma| 亚洲美女免费视频| 国产精品一二三四五| 制服丝袜亚洲色图| 亚洲视频一区在线| 成人综合激情网| www亚洲一区| 麻豆国产91在线播放| 欧美亚洲图片小说| 亚洲欧美日韩系列| 高清免费成人av| 国产婷婷色一区二区三区| 久久99国产精品成人| 3751色影院一区二区三区| 一区二区三区四区激情| 成人激情黄色小说| 久久久久久**毛片大全| 久久99精品久久只有精品| 在线播放中文一区| 亚洲国产aⅴ成人精品无吗| 日本精品一区二区三区四区的功能| 国产精品天天看| 国产不卡视频在线观看| 久久色成人在线| 国产馆精品极品| 欧美韩国日本综合| 成人ar影院免费观看视频| 日本一区二区三级电影在线观看 | 久久久蜜桃精品|