Home > Working with SGWorld > Window (IWindow6) > GetInputMode

  GetInputMode

Returns the current input mode of the mouse.

 

JavaScript

 

GetInputMode()

 

C#

 

MouseInputMode GetInputMode()

 

C++

 

HRESULT GetInputMode(

      MouseInputMode * InputMode)

Return Value

InputMode

An enum determining the mouse input mode. The MouseInputMode method enum can use any of the following values:

·         MI_FREE_FLIGHT = 0

·         MI_COM_CLIENT = 1

·         MI_CONTROLLED_FLIGHT = 2

·         MI_EDIT = 3

·         MI_MEASUREMENT = 4