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:
Objects of this class wrapper the DM_DRAGLEAVE message and the container notification CN_DRAGLEAVE.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~IDMTargetLeaveEvent()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
IDMTargetLeaveEvent(const IEvent& event)
Constructs objects of this class from a generic IEvent object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
virtual ~IDMEvent()
IDMEvent(const IEvent& event)
virtual ~IDMTargetEvent()
IDMTargetEvent(const IEvent& event)
virtual IPresSpaceHandle presSpace()
virtual void releasePresSpace()
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