Wiki > TV3D65 Index > TVInputEngine
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
| 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 ) |
None
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| retAbsoluteX | No | retAbsoluteX description |
| retAbsoluteY | No | retAbsoluteY description |
| retButton1 | Yes | retButton1 description |
| retButton2 | Yes | retButton2 description |
| retButton3 | Yes | retButton3 description |
| retButton4 | Yes | retButton4 description |
| retRoll | Yes | retRoll description |
| Example | Basic example. |
|---|
If you require relative mouse coordinates see: getmousestate
If you require the Windows mouse coordinates see: Microsoft MSDN: System.Windows.Forms.Cursor