NX Open C++ Reference Guide
|
Displays message box. More...
Public Types | |
enum | DialogType { DialogTypeError, DialogTypeWarning, DialogTypeInformation, DialogTypeQuestion } |
Describes type of message box. More... | |
Public Member Functions | |
int | Show (const NXString &title, NXOpen::NXMessageBox::DialogType msgboxType, const NXString &message) |
Show message box. More... | |
int | Show (const char *title, NXOpen::NXMessageBox::DialogType msgboxType, const char *message) |
Show message box. More... | |
int | Show (const NXString &title, NXOpen::NXMessageBox::DialogType msgboxType, std::vector< NXString > &messages) |
Show message box. More... | |
int | Show (const char *title, NXOpen::NXMessageBox::DialogType msgboxType, std::vector< NXString > &messages) |
Show message box. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Displays message box.
Note: The number of lines displayed in the message box can vary based on Operating System and Screen Resolution
To obtain an instance of this class, refer to NXOpen::UI
Created in NX5.0.0.
int NXOpen::NXMessageBox::Show | ( | const NXString & | title, |
NXOpen::NXMessageBox::DialogType | msgboxType, | ||
const NXString & | message | ||
) |
Show message box.
title | Title |
msgboxType | Message box type |
message | Message |
int NXOpen::NXMessageBox::Show | ( | const char * | title, |
NXOpen::NXMessageBox::DialogType | msgboxType, | ||
const char * | message | ||
) |
Show message box.
title | Title |
msgboxType | Message box type |
message | Message |
int NXOpen::NXMessageBox::Show | ( | const NXString & | title, |
NXOpen::NXMessageBox::DialogType | msgboxType, | ||
std::vector< NXString > & | messages | ||
) |
Show message box.
title | Title |
msgboxType | Message box type |
messages | Multi-line message |
int NXOpen::NXMessageBox::Show | ( | const char * | title, |
NXOpen::NXMessageBox::DialogType | msgboxType, | ||
std::vector< NXString > & | messages | ||
) |
Show message box.
title | Title |
msgboxType | Message box type |
messages | Multi-line message |
tag_t NXOpen::NXMessageBox::Tag | ( | ) | const |
Returns the tag of this object.