Description | Example | Return Message | Group

Application

Modify the STK Application window.

Syntax

Application <ApplicationPath> {AppCmdOption} [<Value>]

Description

The Application command will control the display of the Application window, allowing you to show or hide various elements of the window, and to resize and move the window.

{AppCmdOption} [<Value>] Description
MenuBar {Show | Hide} Hide or show the application menu.
StatusBar {Show | Hide} Hide or show the application status bar.
TitleBar {Show | Hide} Hide or show the application title bar.
Tabs {Show | Hide} Hide or show the application integrated view tabs.
Toolbar {Show | Hide} "<ToolbarName>" Hide or show the application named toolbar. Entering "*" for "<ToolbarName>" will hide or show all toolbars.

Note: "<ToolbarName>" is case-sensitive.

Minimize Minimize the application.
Maximize Maximize the application.
Restore Restore the application from the last Minimize or Maximize command.
Hide Hide the application, it will not show up in the task bar.
Show Restore the application from the last Hide command.
Raise Moves the application to the top of all other applications.
Place <X> <Y> Indicates X,Y position of Application on the screen, where 0,0 is in the upper right corner of the screen. This command will move the Application to the new location.
Size <Width> <Height> <Width> and <Height> indicates the new size of the Application window. This command will resize the Application window.
SetFrame {Normal | Minimal | None}
  • Normal. Application window displays with a title bar and border.
  • Minimal. Application window hides the title bar and changes the border to a re-sizing border.
  • None. Application window hides the title bar and border for seamless graphics integration into other applications.

Note: If the application is full-screen, just the title bar will be shown or hidden.

Example

To hide the status bar:

Application / Statusbar Hide

To show the menu bar:

Application / MenuBar Show

To show the "Animation" toolbar:

Application / Toolbar Show "Animation"

To hide all of the toolbars:

Application / Toolbar Hide "*"

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