NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::NXMessageBox Class Reference

Displays message box
To obtain an instance of this class, refer to UI

Created in NX5.0.0. More...

List of all members.

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.
int Show (const NXString &title, NXOpen::NXMessageBox::DialogType msgboxType, std::vector< NXString > &messages)
 Show message box.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Displays message box
To obtain an instance of this class, refer to UI

Created in NX5.0.0.



Member Enumeration Documentation

Describes type of message box.

Enumerator:
DialogTypeError 

Error.

DialogTypeWarning 

Warning.

DialogTypeInformation 

Informattion.

DialogTypeQuestion 

Question.


Member Function Documentation

int NXOpen::NXMessageBox::Show ( const NXString title,
NXOpen::NXMessageBox::DialogType  msgboxType,
const NXString message 
)

Show message box.

Returns:
Return value from Message Box
Created in NX5.0.0.

License requirements : None
Parameters:
titleTitle
NOTE: The full Unicode character set is not supported for this parameter.
msgboxTypeMessage box type
messageMessage
NOTE: The full Unicode character set is not supported for this parameter.
int NXOpen::NXMessageBox::Show ( const NXString title,
NXOpen::NXMessageBox::DialogType  msgboxType,
std::vector< NXString > &  messages 
)

Show message box.

Returns:
Return value from Message Box
Created in NX5.0.0.

License requirements : None
Parameters:
titleTitle
NOTE: The full Unicode character set is not supported for this parameter.
msgboxTypeMessage box type
messagesMulti-line message
NOTE: The full Unicode character set is not supported for this parameter.
tag_t NXOpen::NXMessageBox::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.