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.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~IDMSourcePrintEvent()
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
![]() |
public:
IDMSourcePrintEvent(const IEvent& event)
Constructs objects of this class from a generic IEvent object.
IInvalidRequest | The object for the source print event was not created. The drag item may be invalid. |
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
Use these members to set and query printing attributes.
![]() |
public:
_PRINTDEST* printDestination() const
Returns the pointer to the print destination structure.
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
The return value is a pointer to the PRINTDEST structure.
![]() |
public:
IDMSourcePrintEvent& setSourceOperation( const IDMSourceOperation::Handle& operation )
Sets the handle of the drag source operation for this event.
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
![]() |
public:
IDMSourcePrintEvent& setWhoPrints(PrintIndicator indicator)
Sets the print indicator, which identifies the following:
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
![]() |
public:
IDMSourceOperation::Handle sourceOperation() const
Returns the handle to the drag source operation for this event.
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
![]() |
public:
virtual PrintIndicator whoPrints() const
Returns the print indicator identifying what should print the drag items.
Windows | OS/2 | AIX |
Ignored | Yes | Ignored |
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( 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