1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>GX_GetVisibleWnd</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">GX*_GetVisibleWnd <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/gx/gx.h&gt;</CODE><BR>
20  <BR>
21  <CODE>int GX_GetVisibleWnd( void );</CODE></dd>
22  <dd>
23  <CODE>int GXS_GetVisibleWnd( void );</CODE></dd>
24</dl><h2>Arguments</h2>
25<P>None.</P>
26<h2>Return Values</h2>
27<p>Obtains the display window with the logical sum of <CODE>GXWndMask</CODE> type.</p>
28<H2>Description</H2>
29<P>Obtains the window settings of the display. The function returns the logical sum of <CODE>GXWndMask</CODE> values. The <CODE>GX_GetVisibleWnd</CODE> function gets the settings for the main graphics engine, and the <CODE>GXS_GetVisibleWnd</CODE> function gets the settings for the sub graphics engine.<BR> <BR>
30</P>
31<TABLE border="1">
32  <TBODY>
33    <TR>
34      <TD width="30%"><CODE>GX_WNDMASK_NONE</CODE></TD>
35      <TD width="70%">Indicates that nothing is visible.</TD>
36    </TR>
37    <TR>
38      <TD><CODE>GX_WNDMASK_W0</CODE></TD>
39      <TD>Indicates that window 0 is active.</TD>
40    </TR>
41    <TR>
42      <TD><CODE>GX_WNDMASK_W1</CODE></TD>
43      <TD>Indicates that window 1 is active.</TD>
44    </TR>
45    <TR>
46      <TD><CODE>GX_WNDMASK_OW</CODE></TD>
47      <TD>Indicates that OBJ window feature is active.</TD>
48    </TR>
49  </TBODY>
50</TABLE>
51<P>The type definition of <CODE>GXWndMask</CODE> type is shown below.</P>
52<PRE><CODE>typedef enum
53{
54    GX_WNDMASK_NONE = 0x00,
55    GX_WNDMASK_W0 = 0x01,
56    GX_WNDMASK_W1 = 0x02,
57    GX_WNDMASK_OW = 0x04
58}
59GXWndMask;</CODE></PRE>
60<h2>See Also</h2>
61<P><CODE><A href="GX_GetVisiblePlane.html">GX_GetVisiblePlane</A>, <A href="GX_SetVisibleWnd.html">GX_SetVisibleWnd</A>, <A href="GXS_SetVisibleWnd.html">GXS_SetVisibleWnd</A></CODE></P>
62<H2>Revision History</H2>
63<P>2004/12/24 Initial version.</P>
64<hr><p>CONFIDENTIAL</p></body>
65</html>
66