IDDEEvent is the base class for most Dynamic Data Exchange (DDE) event classes.
An object of this class, or one of its derived classes, is created when an IDDEClientConversation object or IDDETopicServer object needs to pass information to the client or server application. 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 or IDDEClientConversation objects.
![]() |
public:
~IDDEEvent()
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IDDEEvent(const IDDEEvent& ddeEvent)
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
IDDEEvent(const IEvent& ddeEvent)
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members to query information about the item and format of the data that the event is dealing with.
![]() |
public:
IString format() const
Returns the name of the format.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IString item() const
Returns the name of the item.
Windows | OS/2 | AIX |
Yes | Yes | No |
Derived classes use these members to set and obtain the attributes of this class.
![]() |
protected:
IString buffer() const
Returns the data buffer.
Note:
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
protected:
IDDEEvent& setBuffer(IString dataBuffer)
Sets the data into the data buffer.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
protected:
IDDEEvent& setStatus(unsigned short status)
Sets the status field of the event.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
protected:
unsigned short status() const
Returns the status of the event.
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 IEvent& event)
IEvent( const IWindowHandle& handle, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
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