Enumeration Case

NSTrackingEnabledDuringMouseDrag

The owner receives NSMouseEntered events when the mouse cursor is dragged into the tracking area. If this option is not specified, the owner receives mouse-entered events when the mouse is moved (no buttons pressed) into the tracking area and on NSLeftMouseUp events after a mouse drag.

Declaration

NSTrackingEnabledDuringMouseDrag = 0x400

Discussion

NSMouseExited and NSMouseEntered events are paired so their delivery is indirectly affected. That is, if a NSMouseEntered event is generated and the mouse cursor subsequently moves out of the tracking area, a NSMouseExited event is generated regardless if the mouse is moved or dragged, independent of this constant. This value specifies a behavior of the tracking area defined by the NSTrackingArea.