### IDMTargetLeaveEvent

  The IDMTargetLeaveEvent class encapsulates direct manipulation target leave events when a user drags drag items out of a target. Objects of this class are constructed by the target handler, IDMTargetHandler.

  Objects of this class are sent to the target when either of the following occurs:

  - The user drags the objects out of the target.
  - The user terminates the drag while the objects are over the target.

#### OS/2 Considerations

  Objects of this class wrapper the DM_DRAGLEAVE message and the container notification CN_DRAGLEAVE.

### IDMTargetLeaveEvent - Member Functions and Data by Group

### Constructors & Destructor

You can construct and destruct objects of this class.

~IDMTargetLeaveEvent

      public:
      virtual ~IDMTargetLeaveEvent()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IDMTargetLeaveEvent

      public:
      IDMTargetLeaveEvent(const IEvent& event)

  Constructs objects of this class from a generic IEvent object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IDMTargetLeaveEvent - Inherited Member Functions and Data

#### Inherited Public Functions

  IDMEvent

  -     virtual ~IDMEvent()

  -     IDMEvent(const IEvent& event)

  IDMTargetEvent

  -     virtual ~IDMTargetEvent()

  -     IDMTargetEvent(const IEvent& event)

  -     virtual IPresSpaceHandle presSpace()

  -     virtual void releasePresSpace()

  IEvent

  -     virtual ~IEvent()

  -     IWindowHandle controlHandle() const

  -     virtual IWindow* controlWindow() const

  -     IEvent& decrementOwnerLevels()

  -     virtual IWindow* dispatchingWindow() const

  -     unsigned long eventId() const

  -     IWindowHandle handle() const

  -     IEvent( const IWindowHandle& handle,
                unsigned long eventId,
                const IEventParameter1& parameter1,
                const IEventParameter2& parameter2 )

  -     IEvent( IWindow* window,
                unsigned long eventId,
                const IEventParameter1& parameter1,
                const IEventParameter2& parameter2 )

  -     IEvent(const IEvent& event)

  -     IEvent& operator =(const IEvent& event)

  -     IEventParameter1 parameter1() const

  -     IEventParameter2 parameter2() const

  -     bool passToOwner() const

  -     IEventResult result() const

  -     IEvent& setControlHandle(const IWindowHandle& handle)

  -     IEvent& setDispatchingHandle(const IWindowHandle& handle)

  -     IEvent& setDispatchingWindow(IWindow* window)

  -     IEvent& setHandle(const IWindowHandle& handle)

  -     IEvent& setNumberOfLevels(int levels = - 1)

  -     IEvent& setPassToOwner(bool passOn = true)

  -     IEvent& setResult(bool eventResult)

  -     IEvent& setResult(const IEventResult& eventResult)

  -     virtual IWindow* window() const

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None