Description | Example | Return Message | Group

MessageWindow

Control the display of the STK Message Viewer window

Syntax

MessageWindow <ApplicationPath> {MsgWinOption} [<Parameters>]

Related Commands

Description

STK uses the Message Viewer window to display various error and informational messages. The Message Viewer window also displays Connect messages, if you have the Connect module. The Message Viewer window is not visible in the Workspace by default.

Note: This command is only available when running STK Desktop.

{MsgWinOption} Description
Iconify Hide the Message Viewer window. The following list describes the action taken based on the current position of the Message Viewer window. If the Message Viewer window is:
  • Docked - the Message Viewer window will be closed
  • Integrated - the Message Viewer window will be iconified
  • Floating - the Message Viewer window will be hidden
Raise Show the Message Viewer window. The following list describes the action taken based on the current position of the Message Viewer window. If the Message Viewer window is:
  • Docked - the Message Viewer window will be created
  • Integrated - the Message Viewer window will be restored to it's last position and size
  • Floating - the Message Viewer window will be shown
Position <XPosition> <YPosition> Float the Message Viewer window and move it to the input position, where (0,0) is defined as the upper left corner of the screen. If the Message Viewer window is not open, it will be created first.
Size <Width> <Height> Float the Message Viewer window and resize it. If the Message Viewer window is not open, it will be created first.

Example

To minimize the Message Viewer window:

MessageWindow / Iconify

To restore the Message Viewer window:

MessageWindow / Raise

To position the Message Viewer window at 100 pixels from the top of the screen and 100 pixels from the left of the screen:

MessageWindow / Position 100 100

To change the size of the Message Viewer window to a width of 400 pixels and a height of 300 pixels:

MessageWindow / Size 400 300

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Application Options

Version

6.2

STK Programming Interface 11.0.1