IDDEEvent

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.


IDDEEvent - Member Functions and Data by Group

Constructors & Destructor

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.


[view class]
~IDDEEvent
public:
~IDDEEvent()

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
IDDEEvent


Overload 1
public:
IDDEEvent(const IDDEEvent& ddeEvent)

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Overload 2
public:
IDDEEvent(const IEvent& ddeEvent)

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Event Information

Use these members to query information about the item and format of the data that the event is dealing with.


[view class]
format
public:
IString format() const

Returns the name of the format.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
item
public:
IString item() const

Returns the name of the item.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Implementation

Derived classes use these members to set and obtain the attributes of this class.


[view class]
buffer
protected:
IString buffer() const

Returns the data buffer.
Note: The IDDEEvent::buffer member's IString is constructed from a void* and length. For character strings, if the terminating NULL is included in the length, it is in the buffer. Before performing string operations, such as concatenation, on this string, use IString::stripTrailing to strip any trailing NULL character.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setBuffer
protected:
IDDEEvent& setBuffer(IString dataBuffer)

Sets the data into the data buffer.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setStatus
protected:
IDDEEvent& setStatus(unsigned short status)

Sets the status field of the event.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
status
protected:
unsigned short status() const

Returns the status of the event.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IDDEEvent - Inherited Member Functions and Data

Inherited Public Functions

IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data