NX二次开发-UFUN多选菜单对话框uc1605

时间:2021-01-17 19:20:55
 NX11+VS2013

 #include <uf.h>
#include <uf_ui.h> UF_initialize(); //多选菜单对话框
char sPromptStr[] = "多选菜单对话框";
char asOptions[][] = { "菜单选项1", "菜单选项2", "菜单选项3" };
int iNumOfOptions = ;//最多包含14个菜单选项
int aiResponse[];
uc1605(sPromptStr, , asOptions, iNumOfOptions, aiResponse);
if (aiResponse[] == && aiResponse[] == && aiResponse[] == )
{
uc1601("按钮1", );
}
if (aiResponse[] == && aiResponse[] == && aiResponse[] == )
{
uc1601("按钮2", );
}
if (aiResponse[] == && aiResponse[] == && aiResponse[] == )
{
uc1601("按钮3", );
} UF_terminate(); Caesar卢尚宇
2019年6月27日

NX二次开发-UFUN多选菜单对话框uc1605