Wiki > TV3D65 Index > TVInputEngine

GetAbsMouseState

DESCRIPTION

Returns the current absolute coordinates and button events for the mouse.

The term absolute refers to the X,Y coordinates of the mouse in relation to your applications window. This is not the Windows mouse location

DECLARATION

VB.NET GetAbsMouseState(retAbsoluteX As Integer , retAbsoluteY As Integer , retButton1 As Boolean , retButton2 As Boolean , retButton3 As Boolean , retButton4 As Boolean , retRoll As Integer)
C++ void GetAbsMouseState(int* retAbsoluteX , int* retAbsoluteY , bool* retButton1 , bool* retButton2 , bool* retButton3 , bool* retButton4 , int* retRoll )

PARAMETERS

None

RETURN VALUE

NAMEOPTIONALDESCRIPTION
retAbsoluteXNoretAbsoluteX description
retAbsoluteYNoretAbsoluteY description
retButton1YesretButton1 description
retButton2YesretButton2 description
retButton3YesretButton3 description
retButton4YesretButton4 description
retRollYesretRoll description

EXAMPLES

ExampleBasic example.

TIPS

If you require relative mouse coordinates see: getmousestate

If you require the Windows mouse coordinates see: Microsoft MSDN: System.Windows.Forms.Cursor

 
tvinputengine/getabsmousestate.txt · Last modified: 2010/03/01 01:17 by 66.173.38.145