The IDDEEndEvent class provides event information to a server application when a conversation is ended or ending.
An object of this class is created when an IDDETopicServer object needs to notify the application that a conversation is ending or ended. You do not construct objects of this class.
You can construct and destruct objects of this class, although normally you never need to do so. These events are usually created and deleted for you by IDDETopicServer objects.
![]() |
public:
~IDDEEndEvent()
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IDDEEndEvent(const IEvent& ddeEvent, Source endSource)
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members and enumerations to determine the initiator or cause of the conversation termination.
![]() |
public:
Source sourceOfEnd() const
Returns one of the values of the IDDEEndEvent::Source enumeration indicating the source of the ending of the conversation.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
enum Source { client, server, error }
The following enumerations are used to define the possible sources of an end to a conversation:
Windows | OS/2 | AIX |
Yes | Yes | No |
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(const IEventResult& eventResult)
IEvent& setResult(bool eventResult)
virtual IWindow* window() const