5. Widget states

Widget states are stored as a bit-mask.

Table 2.6. Widget states

ConstantDescription
MT_NORMALnormal state (this is special since the value is zero)
MT_HOVERmouse is on top of widget
MT_ACTIVEwidget is toggled, downed, etc.
MT_DISABLEDwidget is disabled
MT_SELECTEDwidget is selected
MT_MOUSE_ACTIVEwidget is temporary toggled, downed, etc. by mouse.