IDMSourceDiscardEvent

The IDMSourceDiscardEvent class represents objects that have been dropped on a shredder object. Objects of this class are constructed by the source handler, IDMSourceHandler.

Objects of this class return an indicator to the shredder object, which identifies what has the responsibility for the deletion of the items or which indicates that the discard operation is to be aborted.

AIX Considerations

This event is not supported on AIX.

OS/2 Considerations

Objects of this class wrapper the DM_DISCARDOBJECT message.

Windows Considerations

This event is not supported on Windows.


IDMSourceDiscardEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


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

Constructs objects of this class from a generic IEvent object.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


Event Information

Use these members to set and query event information for this class.


[view class]
setSourceOperation
public:
IDMSourceDiscardEvent& setSourceOperation( const IDMSourceOperation::Handle& operation )

Sets the handle of the drag source operation for this event.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


[view class]
setWhoDiscards
public:
IDMSourceDiscardEvent& setWhoDiscards( DiscardIndicator indicator )

Sets the discard indicator, which identifies the following:

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


[view class]
sourceOperation
public:
IDMSourceOperation::Handle sourceOperation() const

Returns the handle of the drag source operation for this event.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


[view class]
whoDiscards
public:
virtual DiscardIndicator whoDiscards() const

Returns the discard indicator identifying what should delete the drag items.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


IDMSourceDiscardEvent - Inherited Member Functions and Data

Inherited Public Functions

IDMEvent
IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data