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>G2_SetWnd1Position</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G2_SetWnd1Position <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<PRE><CODE>#include &lt;nitro/gx/g2.h&gt;
20
21void G2_SetWnd1Position(int x1, int y1, int x2, int y2);</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26
27    <tr>
28      <TD width="109"><em><strong><font face="Courier New">x1</font></strong></em></TD>
29      <TD width="593">Top left x-coordinate of the window (Lower 8 bits are valid)</TD>
30    </tr>
31    <TR>
32      <TD><em><strong><font face="Courier New">y1</font></strong></em></TD>
33      <TD>Top left y-coordinate of the window (0-192)</TD>
34    </TR>
35    <TR>
36      <TD><em><strong><font face="Courier New">x2</font></strong></em></TD>
37      <TD>Bottom right x-coordinate of the window (Lower 8 bits are valid)</TD>
38    </TR>
39    <TR>
40      <TD><em><strong><font face="Courier New">y2</font></strong></em></TD>
41      <TD>Bottom right y-coordinate of the window (0-192)</TD>
42    </TR>
43  </table>
44<h2>Return Values</h2>
45<p>None.</p>
46<H2>Description</H2>
47<P>This function sets position of Window 1. The lower 8 bits of the x-coordinate are valid, and the y-coordinate must have a value between 0 and 192.</P>
48
49<h2>See Also</h2>
50<P><A href="G2_SetWnd0Position.html">G2_SetWnd0Position</A></P>
51<H2>Revision History</H2>
52<P>2004/02/09 Initial version.</P>
53<UL>
54  <LI>Added restrictions for the coordinate values.
55</UL>
56<P>2004/01/19 Initial version.</P>
57<hr><p>CONFIDENTIAL</p></body>
58</html>
59