IDMSourcePrintEvent

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

Objects of this class return information to the print object that either identifies who has the responsibility for printing the items or indicates that the print operation is to be aborted.


IDMSourcePrintEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


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

Constructs objects of this class from a generic IEvent object.

Exception

IInvalidRequest The object for the source print event was not created. The drag item may be invalid.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


Print Support

Use these members to set and query printing attributes.


[view class]
printDestination
public:
_PRINTDEST* printDestination() const

Returns the pointer to the print destination structure.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored

OS/2 Considerations

The return value is a pointer to the PRINTDEST structure.


[view class]
setSourceOperation
public:
IDMSourcePrintEvent& 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]
setWhoPrints
public:
IDMSourcePrintEvent& setWhoPrints(PrintIndicator indicator)

Sets the print 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 to the drag source operation for this event.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


[view class]
whoPrints
public:
virtual PrintIndicator whoPrints() const

Returns the print indicator identifying what should print the drag items.

Supported Platforms

Windows OS/2 AIX
Ignored Yes Ignored


IDMSourcePrintEvent - Inherited Member Functions and Data

Inherited Public Functions

IDMEvent
IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data