Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_wgetinfo() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_WGETINFO()

 DESCRIPTION

 C_WGETINFO() returns certain information for the specified window.
 Depending on the code specified, the starting row, starting column,
 ending row, ending column, border, and shadow can be returned.
 (Refer to Chapter 3 for a complete discussion about ClipOn windows.)

 NOTES

 The numeric reference for the ClipOn window is a pointer to the
 window in memory.  Be careful not to change the value of this
 pointer, or the window will be unaccessible.

 SYNTAX

 C_WGETINFO(window, code)

 PARAMETERS

 window (N) is the numeric reference variable for the ClipOn window.

 code (N) is the type of value to return.  The return codes are as
 follows:

 CODE   DESCRIPTION
 ----   -----------
 1      Starting row
 2      Starting column
 3      Ending row
 4      Ending column
 5      Border (0=none, 1=present)
 6      Shadow (0=none, 1=left side, 2=right side)

 RETURNS

 C_WGETINFO() returns information about the specified window.  The
 value returned depends on the given code, as defined above.  For
 all codes, the information returned is numeric.

 EXAMPLES

 w1 = c_window(10,10,20,60,"w/b",2,"",2,"w+/r","CLIENT INFORMATION")

 c_wgetinfo(w1,1) --> 10    && start row
 c_wgetinfo(w1,2) --> 10    && start column
 c_wgetinfo(w1,3) --> 20    && end row
 c_wgetinfo(w1,4) --> 60    && end column
 c_wgetinfo(w1,5) --> 1     && border present
 c_wgetinfo(w1,6) --> 2     && right side shadow


See Also: C_WINDOW() C_XWINDOW() C_WSAVE() C_WRESTORE() C_WRELEASE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson