说明:消息框控制
测试代码:
#include <uf_defs.h>
#include <NXOpen/View.hxx>
#include <NXOpen/NXObject.hxx>
#include <NXOpen/Part.hxx>
#include <NXOpen/PartCollection.hxx>
#include <NXOpen/UI.hxx>
#include <NXOpen/NXMessageBox.hxx>
#include <NXOpen/ListingWindow.hxx>
#include <uf_ui.h>
using namespace NXOpen;
extern "C" DllExport int ufusr_ask_unload()
{
return (int)Session::LibraryUnloadOptionImmediately;
}
extern "C" DllExport void ufusr(char *param, int *retCode, int paramLen)
{
NXOpen::Session *theSession;
theSession= NXOpen::Session::GetSession();
NXOpen::ListingWindow *list;
list=theSession->ListingWindow