# GX_SetVisibleWnd

## Syntax

  `#include <nitro/gx/gx.h>`
  `void GX_SetVisibleWnd(int window);`

## Arguments

window | Specifies a display window using a logical sum from the `GXWndMask` form

## Return Values

None.

## Description

This function selects a window to display. The function returns the logical sum of `GXWndMask` values.

`GX_WNDMASK_NONE` | Indicates that nothing is visible.
`GX_WNDMASK_W0` | Indicates that window 0 is active.
`GX_WNDMASK_W1` | Indicates that window 1 is active.
`GX_WNDMASK_OW` | Indicates that OBJ window feature is active.

The type definition of `GXWndMask` type is shown below.

    typedef enum
    {
        GX_WNDMASK_NONE = 0x00,
        GX_WNDMASK_W0 = 0x01,
        GX_WNDMASK_W1 = 0x02,
        GX_WNDMASK_OW = 0x04
    }
    GXWndMask;

## See Also

`GX_SetVisiblePlane, GX_GetVisibleWnd`

## Revision History

2004/01/19 Initial version.

CONFIDENTIAL