fg_mousemov()

Win32 DirectX Fastgraph/Light

Prototype

void fg_mousemov (int ix, int iy);

Sub fg_mousemov (ByVal ix As Long, ByVal iy As Long)

procedure fg_mousemov (ix, iy : integer);

Description

The fg_mousemov() function moves the mouse cursor to the specified screen space position. The position is defined in virtual buffer coordinates and is automatically translated to the equivalent client coordinates. The mouse cursor is moved whether or not it is currently visible.

Parameters

ix is the x coordinate of the new mouse cursor position.

iy is the y coordinate of the new mouse cursor position.

Return value

none

Restrictions

If you attempt to move the mouse cursor outside the area defined by fg_mouselim(), fg_mousemov() positions the cursor at the nearest point possible within that area.

See also

fg_mouseini(), fg_mouselim(), fg_mousepos()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.