CWButtonModes Enumeration
CWButtonModes are the constants that specify how a CWButton responds to user input.
You can use the following constants with this data type:
- cwModeIndicator–The CWButton does not respond to user input. In this mode you can only change the value of the CWButton programmatically.
- cwModeSwitchUntilReleased–The value of the CWButton changes when you click the CWButton. The value of the CWButton changes back to its original state when you release the mouse button.
- cwModeSwitchWhenPressed–The value of the CWButton changes when you click the CWButton. The value remains unchanged until you click the CWButton again.