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

 DESCRIPTION

 C_WMOVE() allows a ClipOn window to be moved to another location on
 the screen.  The new row and column are specified and the window's
 length and width are automatically calculated.  All references to
 the window's new location are changed and the window is moved, on
 the screen, from the current location to the new one.  (Refer to
 Chapter 3 for a complete discussion about ClipOn windows.)

 NOTES

 C_WMOVE() makes no attempt to check the new coordinates to make
 sure the window will fit on the screen.  When the new starting row
 and column are specified the current window's length and width must
 be considered.

 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_WMOVE(window, new_st_rows, new_st_col)

 PARAMETERS

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

 new_st_row (N) is the new starting row for the window.

 new_st_col (N) is the new starting column for the window.

 RETURNS

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

 EXAMPLES

 && Define ClipOn window
 w1 = c_window(20,10,24,65,"W/B",2,"W+/R","WINDOW TITLE")

 c_wview(w1,buffer)      && View text in window

 w1 = c_wmove(w1,0,0)    && Move window to new location
                         && Note the new value for W1 variable

 c_wview(w1,buffer,-1)   && Resume viewing where we left off


See Also: C_WIMPLODE() C_WINDOW() C_WSAVE() C_WRELEASE() C_WVIEW()

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