SetWindowYMouse
SetWindowYMouse

Sets the y coordinate of the mouse relative to the window

bSuccess = myMouseKeyboard.SetWindowYMouse( New_YPos )

Return value
TRUE if the mouse was moved successfully, otherwise FALSE.

Parameters
  • New_YPos
    The new y coordinate to use.
Comments

Be careful when using this function. It is possible to lock the mouse, resulting in the user being unable to close the game in the usual way.

See also
MouseKeyboard:SetYMouse
MouseKeyboard:GetWindowYMouse
MouseKeyboard:SetWindowXMouse
MouseKeyboard:SetWindowMousePos
MouseKeyboard:SetScreenYMouse



JAM © 2005 no one in particular
Project started by David Evans in 2005