CreateMouseRegion

From SIMboxWiki

Jump to: navigation, search

Contents

Description

Use the function CreateMouseRegion to create a mouse region.

Syntax

AGI_DECL HAGI WINAPI CreateMouseRegion(

agiRect rect,
LPCSTR sRegion,
bool bVisible = false
);

Parameters

agiRect rect

[in] Region rectangle.

LPCSTR sRegion

[in] Name of the region.

bool bVisible = false

[in] True or false.

Return Value

Handle to the AGI object

Remarks

The mouse regions are used for pick.

See Also

Pick

Personal tools