CNiButton::Mode

CNi

Class
CNiButton::
Mode
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: KeyboardModeNext page: OffColor    
Public Data Item Declared in:
NiButton.h

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

ButtonModes Mode;

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

Specifies how the button responds to user input. The list below includes valid values.

  • CNiButton::ModeSwitchWhenPressed - when you click the mouse on the button, the value changes and remains until you click on the button again.
  • CNiButton::ModeSwitchUntilReleased - when you click the mouse on the button, the value of the button changes. When you release the mouse, the value of the button changes back to its original state.
  • CNiButton::ModeIndicator - the button does not respond to user input. In this mode, you are limited to changing the value programmatically.

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