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_window() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_WINDOW()

 DESCRIPTION

 C_WINDOW() opens a ClipOn window for the given screen coordinates,
 saving the area of the screen under the window.  The window color
 and box type can be specified as well as a title, centered at the
 top of the window.  (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_WINDOW(st_row, st_col, end_row, end_col [,color] [,box] [,title_color]
 [,title])

 PARAMETERS

 st_row (N), st_col (N), end_row (N), and end_col (N) define the
 upper left and lower right coordinates of the window.

 color (C/N) is the color to draw the window.  The color argument
 can be specified as a dBASE/Clipper color string or a numeric color
 code (see Appendix E).  If color is not specified, the current
 Clipper color is used.

 box (N) is the type of box to draw around the window.  The box
 types are as follows:  0 = no box, 1 = single box, and 2 = double
 box.  If box is not specified, box type 0 (no box) is used.

 title_color (C/N) is the color to draw the window title (if any).
 The title_color argument can be specified as a dBASE/Clipper color
 string or a numeric color code (see Appendix E).  If title_color is
 not specified, the current Clipper color is used.

 title (C) is the optional window title to center at the top of the window.

 RETURNS

 C_WINDOW() returns a numeric reference variable for the ClipOn window.

 EXAMPLES

 && Create window 1,1,10,20, white on red, with a double box and a title.

 w1 = c_window(1,1,10,20,"W/R",2,"W+/R","Help Information")
 ...
 c_wsay(w1,2,2,"Display help text")    && Display text in window w1
 c_wsay(w1,3,2,"inside of window")
 ...
 c_wrestore(w1)                        && Restore/release window w1


See Also: C_XWINDOW() C_WSAVE() C_WRESTORE() C_WVIEW() C_WGETINFO()

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