Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>m_wincond()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
M_WINCOND()
Constrains the Mouse to a given screen section
------------------------------------------------------------------------------
Syntax:

     M_WINCOND( [<nTop>]    ,;
                [<nLeft>]   ,;
                [<nBottom>] ,;
                [<nRight>]   ) --> NIL

Parameters:

     <nTop>, <nLeft>, <nBottom>, <nRight> Section coordinates.

Returns:

     NIL

Description:

     Allows to specify a screen section in which the mouse can be moved.
     The mouse can not go out of the specified section.

Example:

     M_WINCOND( 10, 0, 10, 79 ) // The mouse
                                // can only be
                                // in row 10.

See also:

     M_INIT()

See Also: M_INIT()

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