NX secondary development -UFUN file selection dialog UF_UI_create_filebox

. 1 NX11 + VS2013
 2  
. 3  
. 4 #include <uf.h>
 . 5 #include <uf_ui.h>
 . 6  
. 7  
. 8  UF_initialize ();
 . 9  
10  // file selection dialog 
. 11  char sPromptStr [] = " member selection dialog " ; / / fast information 
12 is  char sTitleStr [] = " member selection dialog " ; // dialog title 
13 is  char sFilterStr [] = " .prt " ; // file filters, i.e., only one type document processing 
14  char sDefaultStr [ ] =" * .Prt " ; // default file name 
15  char sFilePath [ 256 ] = "" ; // the user selects the full path of the file 
16  int iRespones = 0 ; // function return value 
. 17 UF_UI_create_filebox (sPromptStr, sTitleStr, sFilterStr, sDefaultStr , sFilePath, & iRespones);
 18  
19  UF_terminate ();
 20  
21  Caesar Lu Shangyu
 22 June 27, 2019

Guess you like

Origin www.cnblogs.com/nxopen2018/p/11099356.html