NX二次开发 UFUN多选菜单对话框 uc1605
//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 str_prompt[] = "多选菜单对话框";
char options[][38] = { "菜单选项1", "菜单选项2", "菜单选项3" };
int n_opt