The IDMTargetEvent class is the common base class for the direct manipulation target event classes: IDMTargetEnterEvent, IDMTargetLeaveEvent, and IDMTargetDropEvent.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~IDMTargetEvent()
This will release the graphics drawing port if you have not explicitly called . " TARGET="content">
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
IDMTargetEvent(const IEvent& event)
Constructs objects of this class from a generic IEvent object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these members to access and release the drawing space
needed to draw target emphasis.
Note:
![]() |
public:
virtual IPresSpaceHandle presSpace()
Acquires the graphics drawing port to use for drawing the target emphasis and return its handle.
IAccessError | The presentation space was not obtained. An invalid window handle may have been specified or a direct manipulation is not in progress. |
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual void releasePresSpace()
Releases the graphics drawing port used for drawing the target emphasis.
IInvalidRequest | The presentation space was not released. An invalid presentation space may have been specified or a direct manipulation is not in progress. |
Windows | OS/2 | AIX |
Yes | Yes | Yes |
virtual ~IDMEvent()
IDMEvent(const IEvent& event)
virtual ~IEvent()
IWindowHandle controlHandle() const
virtual IWindow* controlWindow() const
IEvent& decrementOwnerLevels()
virtual IWindow* dispatchingWindow() const
unsigned long eventId() const
IWindowHandle handle() const
IEvent( IWindow* window, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent( const IWindowHandle& handle, 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