Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FlexFile Reference Guide - <b>v_getwndrc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 V_GETWNDRC()
 Return the rows or columns from a Proclip window stored in a DBV file
-------------------------------------------------------------------------------

 Syntax

    V_GETWNDRC( <cPointer>, <cRowOrCol> )    ->    nValue

 Arguments

    <cPointer> is a six byte pointer-field (FlexFile's version of a
    memo-field).

    <cRowOrCol> is either an 'R' or a 'C' (non case sensitive)
    requesting the row or column respectively.

 Returns

    V_GETWNDRC() returns the rows or columns of a Proclip window in a
    DBV file much like Proclip's WNDVROWS() and WNDVCOLS() would.

 Description

    V_GETWNDRC() is used to query a Proclip window that has been saved
    to a DBV. The rows and columns are the virtual rows and columns
    and not the rows and columns of a viewport that may have been
    active when the window was V_REPLACE()d.


 Examples

    // Create a proclip window
    pc_handle = WNDCREATE( 5, 10 )

    // Save the window to a DBV file
    REPLACE vlf WITH V_REPLACE( pc_handle, , , 'P' )

    // Show the rows and columns of the window.
    ? V_GETWNDRC( vlf, 'R' ) // Result: 5
    ? V_GETWNDRC( vlf, 'C' ) // Result: 10

See Also: V_REPLACE() V_TYPE()

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