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

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

?? block.cpp

?? 應用visual c++ 6.0的UG二次開發內部模式演示程序。VC創建MFC菜單項目
?? CPP
?? 第 1 頁 / 共 2 頁
字號:


/*=============================================================================
   WARNING!!  This file is overwritten by the UIStyler each time the Styler 
   file is saved.
  
  
        Filename:  block_template.c
  
        This file was generated by the NX User Interface Styler
        Created by: Administrator
        Version: NX 3
              Date: 03-20- 6
              Time: 16:07
  
   This template file is overwritten each time the UIStyler dialog is
   saved.  Any modifications to this file will be lost.
==============================================================================*/
 


/*==============================================================================
   Purpose:  This TEMPLATE file contains C source and static structures to      
   guide you in the construction of your NX Open application dialog.            
   The generation of your dialog file (.dlg extension) is the first step towards
   dialog construction within Unigraphics.  You must now create a UGOpen        
   application that utilizes this file (.dlg).                                  
                                                                                
   The information in this file provides you with the following:                
                                                                                
   1.  Help on the use of the functions, UF_MB_add_styler_actions and           
       UF_STYLER_create_dialog in your NX Open application.  These functions    
       will load and display your UIStyler dialog in Unigraphics.               
                                                                                
       An example of the function, UF_MB_add_styler_actions to associate your   
       dialog to the menubar is shown below (Search on Example 1).              
                                                                                
       An example of a invoking a dialog from a callback utilizing              
       UF_STYLER_create_dialog is also shown below (Search for Example 2).      
                                                                                
       An example of a user exit utilizing UF_STYLER_create_dialog is also      
       shown below (Search for Example 3).                                      
                                                                                
   2.  The callback structure: --- BLOCK_cbs ---               
       This structure is VERY important if you have callbacks associated with   
       your dialog.  It correlates the dialog items in your dialog with the     
       callback functions you must supply.  You should not modify this          
       structure since it MUST match up to the information stored in your       
       dialog file (.dlg).  Any attempt to do so will cause an error while      
       constructing your dialog.   If you wish to modify the association of     
       your callbacks to your dialog, please reload your dialog file (.dlg) into
       the UIStyler and regenerate your files.                                  
       You do not need to be concerned about this structure, simply pass it as  
       an argument to the function, UF_STYLER_create_dialog along with your     
       dialog file (.dlg).
       
       Example 1 displays the actual call you may make for this particular      
       dialog.                                                                  
                                                                                
   3.  The empty callback functions (stubs) associated with your dialog items   
       have also been placed in this file.  These empty functions have been     
       created simply to start you along with your coding requirements.         
       The function name, argument list and possible return values have already 
       been provided for you.                                                   
                                                                                
NOTE:  Each callback must be wrappered with the functions UF_initialize()       
       and UF_terminate().                                                      
                                                                                
==============================================================================*/



/* These include files are needed for the following template code.            */
#include <stdio.h> 
#include <uf.h>
#include <uf_defs.h>
#include <uf_exit.h>
#include <uf_ui.h>
#include <uf_styler.h>
#include <uf_mb.h> 
#include <block.h>

/* The following definition defines the number of callback entries */
/* in the callback structure:                                      */
/* UF_STYLER_callback_info_t BLOCK_cbs */
#define BLOCK_CB_COUNT ( 5 + 1 ) /* Add 1 for the terminator */
 
/*--------------------------------------------------------------------------
The following structure defines the callback entries used by the       
styler file.  This structure MUST be passed into the user function,    
UF_STYLER_create_dialog along with BLOCK_CB_COUNT.                       
--------------------------------------------------------------------------*/
static UF_STYLER_callback_info_t BLOCK_cbs[BLOCK_CB_COUNT] = 
{
 {UF_STYLER_DIALOG_INDEX, UF_STYLER_CONSTRUCTOR_CB  , 0, BLOCK_construction},
 {UF_STYLER_DIALOG_INDEX, UF_STYLER_DESTRUCTOR_CB   , 0, BLOCK_destruction},
 {UF_STYLER_DIALOG_INDEX, UF_STYLER_OK_CB           , 0, BLOCK_ok_cb},
 {UF_STYLER_DIALOG_INDEX, UF_STYLER_CANCEL_CB       , 0, BLOCK_cancel_cb},
 {BLOCK_PARA_DATABASE   , UF_STYLER_ACTIVATE_CB     , 0, BLOCK_para_database_act_cb},
 {UF_STYLER_NULL_OBJECT, UF_STYLER_NO_CB, 0, 0 }
};



/*--------------------------------------------------------------------------
UF_MB_styler_actions_t contains 4 fields.  These are defined as follows:
 
Field 1 : the name of your dialog that you wish to display.
Field 2 : any client data you wish to pass to your callbacks.
Field 3 : your callback structure.
Field 4 : flag to inform menubar of your dialog location.  This flag MUST  
          match the resource set in your dialog!  Do NOT ASSUME that changing 
          this field will update the location of your dialog.  Please use the 
          UIStyler to indicate the position of your dialog.
--------------------------------------------------------------------------*/
static UF_MB_styler_actions_t actions[] = {
    { "block.dlg",  NULL,   BLOCK_cbs,  UF_MB_STYLER_IS_NOT_TOP },
    { NULL,  NULL,  NULL,  0 } /* This is a NULL terminated list */
};








/*---------------- MENUBAR HOOKUP HELP Example -------------------
To launch this dialog from a Unigraphics menubar, you must follow 
the steps below.
1)  Add the following lines to your MenuScript file in order to 
    associate a menu bar button with your dialog.  In this     
    example, a cascade menu will be created and will be        
    located just before the Help button on the main menubar.   
    The button, BLOCK_BTN is set up to launch your dialog and 
    will be positioned as the first button on your pulldown menu.
    If you wish to add the button to an existing cascade, simply 
    add the 3 lines between MENU LAUNCH_CASCADE and END_OF_MENU  
    to your menuscript file.  
    
    The MenuScript file requires an extension of ".men".
    Make sure that you add the extension to the file and place  
    the file in your startup directory:
      $UGII_USER_DIR/startup or 
      $UGII_SITE_DIR/startup or 
      $UGII_VENDOR_DIR/startup directory


    Move the contents between the dashed lines to your Menuscript file.
!   ----------------------------------------------------------------
    VERSION 120

    EDIT UG_GATEWAY_MAIN_MENUBAR

    BEFORE UG_HELP
      CASCADE_BUTTON UISTYLER_DLG_CASCADE_BTN
      LABEL Dialog Launcher
    END_OF_BEFORE
 
    MENU UISTYLER_DLG_CASCADE_BTN
      BUTTON BLOCK_BTN
      LABEL Display block dialog
      ACTIONS block.dlg
    END_OF_MENU
!   ---------------------------------------------------------------


2) Issue a call to the function, UF_MB_add_styler_actions from the ufsta
   user exit as shown below.  To use this call, remove the conditional 
   definitions:  #ifdef MENUBAR_COMMENTED_OUT 
                 #endif MENUBAR_COMMENTED_OUT 
   
   The static structure, actions, will allow you to associate ALL of your
   dialogs and callback functions to the  menubar at once.  For example, if you 
   wish to have 10 dialogs associated to 10 different buttons on the menubar,
   you may enter each dialog and callback list into the actions structure. Make
   sure that you have created a corresponding button in your MenuScript file.
   
   You may also have separate shared libraries, each with a ufsta user exit
   for each individual dialog.


3) Place your compiled and linked ufsta user function in 
   $UGII_USER_DIR/startup or   
   $UGII_SITE_DIR/startup or 
   $UGII_VENDOR_DIR/startup directory.     
 
   NOTE:  The user function must contain the proper extension .so, .sl or .dll 
   to make ensure that it is recognized by the MenuScript.  If it does not
   have the proper extension, it will NOT be recognized by MenuScript.    


   The action name you have provided in your MenuScript must correspond to
   to the dialog name provided in the action structure.  This MUST match inorder
   to bind your dlg file to your MenuScript button.                            


4) Copy your UIStyler dialog file to the proper directory.
   All dialog files (.dlg) must be located in 
      $UGII_USER_DIR/application or 
      $UGII_SITE_DIR/application or 
      $UGII_VENDOR_DIR/application directory




------------------------------------------------------------*/
#ifdef MENUBAR_COMMENTED_OUT
extern void ufsta (char *param, int *retcode, int rlen)
{
    int  error_code;
 
    if ( (UF_initialize()) != 0) 
          return;
                                                 
    if ( (error_code = UF_MB_add_styler_actions ( actions ) ) != 0 )
    {
          char fail_message[133];
          
          UF_get_fail_message(error_code, fail_message);
          printf ( "%s\n", fail_message ); 
    }
                                                 
    UF_terminate();                             
    return;
}
#endif /*MENUBAR_COMMENTED_OUT*/





/*-------DIALOG CREATION FROM A CALLBACK HELP Example ----------
If you wish to have this dialog displayed from the callback of 
another UIStyler dialog, you should:                           

1) Make sure that the callback of your UIStyler dialog is 
   designated as a dialog building callback.              
2) Remove the conditional definitions:
   #ifdef DISPLAY_FROM_CALLBACK 
   #endif DISPLAY_FROM_CALLBACK
3) Your callback should issue a call to this function.
4) You should also add the funcitonal prototype to your header file 
   (block.h) and ensure that the file is properly included.

All dialog files must be located in 
      $UGII_USER_DIR/application or 
      $UGII_SITE_DIR/application or 
      $UGII_VENDOR_DIR/application directory
--------------------------------------------------------------*/


#ifdef DISPLAY_FROM_CALLBACK
extern int <enter the name of your function> ( int *response )
{
    int  error_code = 0;
 
    if ( ( error_code = UF_initialize() ) != 0 ) 
           return (0) ;

    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 (error_code);
}
#endif /* DISPLAY_FROM_CALLBACK */ 




/*-------DIALOG CREATION FROM A USER EXIT HELP Example --------
To create this dialog from a user exit, you must invoke a     
call to the NX Open API, UF_STYLER_create_dialog.  An example 
is shown below.                                               

All dialog files must be located in 
      $UGII_USER_DIR/application or 
      $UGII_SITE_DIR/application or 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91免费在线播放| 另类中文字幕网| 久久精品人人爽人人爽| 欧美一区二区三区公司| 在线电影院国产精品| 欧美日韩免费观看一区二区三区| 色综合视频一区二区三区高清| 福利电影一区二区三区| 国产成人免费在线| 大白屁股一区二区视频| 菠萝蜜视频在线观看一区| 成人在线视频首页| 色先锋aa成人| 在线不卡中文字幕播放| 日韩欧美成人一区二区| 久久久久国产精品麻豆| 国产精品女上位| 夜夜精品视频一区二区| 日韩av二区在线播放| 激情图区综合网| 成人免费观看男女羞羞视频| 色婷婷综合久久久中文一区二区| 欧美性三三影院| 久久婷婷国产综合精品青草| 国产精品乱码人人做人人爱| 一区二区三区欧美久久| 蜜桃视频一区二区| 成人精品视频.| 欧美午夜电影一区| 26uuu亚洲婷婷狠狠天堂| 亚洲欧美在线视频观看| 免费不卡在线观看| 成人自拍视频在线| 在线观看91av| 亚洲欧美自拍偷拍色图| 强制捆绑调教一区二区| caoporen国产精品视频| 成人欧美一区二区三区白人| 午夜激情综合网| 国产成人免费高清| 69av一区二区三区| 日本一区二区不卡视频| 日本不卡在线视频| 91在线精品秘密一区二区| 日韩免费观看高清完整版| 亚洲男同性恋视频| 国产在线国偷精品产拍免费yy| 色噜噜狠狠成人中文综合| 久久久久国产免费免费| 婷婷六月综合网| 91在线丨porny丨国产| 久久精品一区蜜桃臀影院| 亚洲不卡av一区二区三区| 成人免费毛片嘿嘿连载视频| 欧美大度的电影原声| 亚洲一级二级三级在线免费观看| 成人免费视频一区| 久久久久久亚洲综合影院红桃| 天天av天天翘天天综合网| 99re这里都是精品| 国产欧美日韩在线| 蜜桃在线一区二区三区| 欧美高清激情brazzers| 亚洲欧美日韩系列| 成人精品视频一区二区三区| 久久夜色精品国产噜噜av | 91网站最新地址| 国产亚洲制服色| 久久国产精品第一页| 欧美精品国产精品| 性做久久久久久久免费看| 在线亚洲欧美专区二区| 亚洲理论在线观看| 色哟哟亚洲精品| 亚洲一区二区三区视频在线播放| 欧美xxx久久| 日韩不卡一区二区| 欧美一区二区三区免费在线看| 亚洲第一福利一区| 欧美老年两性高潮| 日韩高清中文字幕一区| 91精品国产色综合久久不卡蜜臀| 亚洲h精品动漫在线观看| 欧美日韩国产欧美日美国产精品| 亚洲综合色网站| 欧美日韩激情一区二区三区| 亚洲第四色夜色| 欧美精品少妇一区二区三区| 免费久久精品视频| 26uuu亚洲婷婷狠狠天堂| 国产一区二区视频在线播放| 国产日韩精品一区二区三区在线| 成人一区二区三区视频| 中文字幕永久在线不卡| 色婷婷综合视频在线观看| 亚洲成年人网站在线观看| 欧美一区二区日韩一区二区| 国产精品99久久不卡二区| 亚洲人成网站色在线观看| 91九色最新地址| 免费成人在线影院| 国产精品网友自拍| 欧美在线观看视频一区二区三区 | 欧美日韩一区精品| 日韩二区三区四区| 久久精品人人做人人爽97| 色综合亚洲欧洲| 久久国内精品自在自线400部| 中文字幕国产精品一区二区| 欧美三电影在线| 国产精品18久久久| 亚洲午夜一区二区| 国产午夜精品久久久久久免费视| 色美美综合视频| 久色婷婷小香蕉久久| 亚洲女人的天堂| 精品国产成人在线影院| 在线亚洲一区二区| 国产成人综合网| 日韩高清不卡一区| 国产精品久久二区二区| 日韩一级免费一区| 91精彩视频在线观看| 国产精品系列在线观看| 日韩专区在线视频| 亚洲靠逼com| 国产三级精品三级| 91麻豆精品国产无毒不卡在线观看 | 亚洲女子a中天字幕| 日韩欧美高清一区| 欧美老人xxxx18| 在线精品视频小说1| 国产一区二区三区精品视频| 婷婷成人激情在线网| 亚洲视频一区在线| 中文字幕免费不卡在线| 欧美电影免费观看完整版| 欧美日韩视频不卡| 欧美性猛交xxxx乱大交退制版| 欧美丝袜丝交足nylons图片| 成人免费黄色在线| 国产不卡高清在线观看视频| 极品尤物av久久免费看| 视频一区在线视频| 亚洲国产精品久久一线不卡| 亚洲欧美另类小说| 最近日韩中文字幕| 中文字幕亚洲不卡| 中文字幕中文字幕一区| 欧美高清在线一区二区| 久久九九影视网| 久久久久88色偷偷免费| 久久综合色综合88| 欧美精品一区二区三区在线播放| 日韩一区二区三区免费观看| 欧美丰满一区二区免费视频| 777久久久精品| 日韩一区二区在线观看视频播放| 欧美日本一区二区在线观看| 欧美日韩视频专区在线播放| 欧美视频完全免费看| 欧美日本一区二区三区| 67194成人在线观看| 日韩一区二区在线免费观看| 日韩免费电影网站| 欧美精品一区二区三区一线天视频| 日韩精品在线看片z| 国产日韩高清在线| 国产精品伦理在线| 亚洲日本va在线观看| 亚洲国产精品久久久男人的天堂| 偷拍一区二区三区四区| 麻豆精品国产91久久久久久| 国产精品综合一区二区三区| 成人精品一区二区三区中文字幕| 91一区二区在线| 91.com视频| 久久久噜噜噜久久中文字幕色伊伊| 国产精品美女久久福利网站| 亚洲图片你懂的| 日韩不卡一区二区三区| 国产高清精品网站| 色天使久久综合网天天| 欧美一级片在线观看| 亚洲国产成人在线| 午夜久久久影院| 国产乱一区二区| 欧美性生活大片视频| 久久久久久久综合日本| 亚洲欧美另类综合偷拍| 国产综合色精品一区二区三区| 99久久er热在这里只有精品66| 欧美高清视频一二三区| 欧美国产日韩一二三区| 日韩国产高清影视| 99re8在线精品视频免费播放| 欧美一区二视频| 亚洲人成影院在线观看| 国产在线国偷精品免费看| 欧美系列一区二区|