Home > Working with SGWorld > Window (IWindow6) > ShowMessageBarText
This method displays the text message in the Message Bar container.
JavaScript |
|
ShowMessageBarText( Text, Alignment, Timeout) |
C# |
|
void ShowMessageBarText( string Text, MessageBarTextAlignment Alignment = MessageBarTextAlignment.MBT_CENTER, int Timeout = 5000) |
C++ |
|
HRESULT ShowMessageBarText( BSTR Text, MessageBarTextAlignment Alignment, long Timeout) |
Parameters
Text
The text string that is to be displayed in the message bar.
Alignment
An enum determining the alignment of the message bar. The MBT enum can use any of the following values:
· MBT_LEFT = 0,
· MBT_CENTER = 1,
· MBT_RIGHT = 2
Timeout
Time in milliseconds, the message bar is displayed.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.