Widget states are stored as a bit-mask.
Table 2.6. Widget states
Constant | Description |
---|---|
MT_NORMAL | normal state (this is special since the value is zero) |
MT_HOVER | mouse is on top of widget |
MT_ACTIVE | widget is toggled, downed, etc. |
MT_DISABLED | widget is disabled |
MT_SELECTED | widget is selected |
MT_MOUSE_ACTIVE | widget is temporary toggled, downed, etc. by mouse. |