NX二次开发 UFUN按钮对话框 uc1603
//NX8.0+VS2010
#if ! defined ( __hp9000s800 ) && ! defined ( __sgi ) && ! defined ( __sun )
# include <strstream>
# include <iostream>
using std::ostrstream;
using std::endl;
using std::ends;
using std::cerr;
#else
# include <strstream.h>
# include <iostream.h>
#endif
#include <uf.h>
#include <uf_ui.h>
#include <uf_exit.h>
#include <string>
//#include <NXSigningResource.cpp>
using namespace std;
using std::ostrstream;
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
//单选菜单列表对话框 【按钮】
char items[3][38] = { "按钮1", "按钮2", "按钮3" };
int resp = uc1603("菜单", 0, items, 3);
if (r