IDMTargetEvent

The IDMTargetEvent class is the common base class for the direct manipulation target event classes: IDMTargetEnterEvent, IDMTargetLeaveEvent, and IDMTargetDropEvent.


IDMTargetEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~IDMTargetEvent
public:
virtual ~IDMTargetEvent()

This will release the graphics drawing port if you have not explicitly called . " TARGET="content">

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IDMTargetEvent
public:
IDMTargetEvent(const IEvent& event)

Constructs objects of this class from a generic IEvent object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Target Emphasis

Use these members to access and release the drawing space needed to draw target emphasis.
Note: You must use the drawing (presentation) space returned by IDMTargetEvent::presSpace to draw the target emphasis. The drawing space returned by IWindow::presSpace will not work.


[view class]
presSpace
public:
virtual IPresSpaceHandle presSpace()

Acquires the graphics drawing port to use for drawing the target emphasis and return its handle.

Exception

IAccessError The presentation space was not obtained. An invalid window handle may have been specified or a direct manipulation is not in progress.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
releasePresSpace
public:
virtual void releasePresSpace()

Releases the graphics drawing port used for drawing the target emphasis.

Exception

IInvalidRequest The presentation space was not released. An invalid presentation space may have been specified or a direct manipulation is not in progress.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IDMTargetEvent - Inherited Member Functions and Data

Inherited Public Functions

IDMEvent
IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data