Routines (alphabetical) > Routines: W > WSHOW Procedure

# WSHOW Procedure

The WSHOW procedure exposes or hides the designated Direct Graphics window.

## Examples

To bring IDL windw number 0 to the front, enter:

WSHOW, 0

## Syntax

WSHOW [, Window_Index [, Show]] [, /ICONIC]

## Arguments

### Window_Index

The window index of the window to be hidden or exposed. If this argument is not specified, the current window is assumed. If this index is the window ID of a draw widget, the widget base associated with that drawable is brought to the front of the screen.

### Show

Set Show to 0 to hide the window. Omit this argument or set it to 1 to expose the window.

## Keywords

### ICONIC

Set this keyword to iconify the window. Set ICONIC to 0 to de-iconify the window.

Under windowing systems, iconification is the task of the window manager, and client applications such as IDL have no direct control over it. The ICONIC keyword serves as a hint to the window manager, which is free to iconify the window or ignore the request as it sees fit.

## Version History

Original | Introduced

## See Also

WDELETE, WINDOW, WSHOW