CNiPointer::Mode

CNi

Class
CNiPointer::
Mode
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: IndexNext page: Name    
Public Data Item Declared in:
NiPointer.h

'Declaration' icon -- Shortcut to top of page. Declaration

PointerModes Mode;

'Description' icon -- Shortcut to top of page. Description

Specifies how the pointer behaves and responds to user input. The following list includes valid values for this function.

  • CNiPointer::PointerModeControl - the pointer responds to mouse clicks, clicks on the increment and decrement buttons, and programmatic changes.
  • CNiPointer::PointerModeIndicator - the pointer does not respond to mouse clicks. You can only change the value of the pointer programmatically.
  • CNiPointer::PointerModeMinimum - the pointer always contains the minimum value that other pointers have had since you last reset control metrics. The pointer does not respond to user input, and you cannot set its value programmatically.
  • CNiPointer::PointerModeMaximum - the pointer always contains the maximum value that other pointers have had since the control metrics were reset. The pointer does not respond to user input, and you cannot set its value programmatically.
  • CNiPointer::PointerModeMean - the pointer always contains the mean of the values that other pointers have had since the control metrics were reset. The pointer does not respond to user input, and you cannot set its value programmatically.
  • CNiPointer::PointerModeControlSmooth - the pointer responds to mouse clicks anywhere on the control, mouse clicks on the increment and decrement buttons, and programmatic changes. The pointer does not snap to the clicked location as it does when the mode is PointerModeControl. This mode prevents abrupt changes in the pointer value.
  • CNiPointer::PointerModeControlExact - the pointer responds to mouse clicks directly on the pointer, mouse clicks on the increment and decrement buttons, and programmatic changes.

'See Also' icon -- Shortcut to top of page. See Also