### IDDERequestDataEvent

  The IDDERequestDataEvent class provides event information to a server application when a client has requested data.

  An object of this class is created when an IDDETopicServer object needs to pass requests for data to the server application. You do not construct objects of this class.

### IDDERequestDataEvent - 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 normally created and deleted for you by IDDETopicServer objects.

~IDDERequestDataEvent

      public:
      ~IDDERequestDataEvent()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

IDDERequestDataEvent

      public:
      IDDERequestDataEvent(const IEvent& ddeEvent)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### Event Information

Use these members to provide the data requested by the DDE client application and to set the related attributes of the event.

requestAck

      public:
      IDDERequestDataEvent& requestAck()

  Sets the request acknowledgment flag.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

setData

  Provides the requested data so it can be sent to the client. This member is overloaded so that either buffers of data or character strings can be easily sent.

  Overload 1

      public:
      IDDERequestDataEvent&
        setData( const void* dataBuffer,
                 unsigned long dataLength )

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

  Overload 2

      public:
      IDDERequestDataEvent& setData(const char* dataString)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### IDDERequestDataEvent - Inherited Member Functions and Data

#### Inherited Public Functions

  IDDEEvent

  -     ~IDDEEvent()

  -     IString format() const

  -     IDDEEvent(const IDDEEvent& ddeEvent)

  -     IDDEEvent(const IEvent& ddeEvent)

  -     IString item() const

  IDDESetAcknowledgeInfoEvent

  -     ~IDDESetAcknowledgeInfoEvent()

  -     IDDESetAcknowledgeInfoEvent( const IDDESetAcknowledgeInfoEvent& ddeEvent )

  -     IDDESetAcknowledgeInfoEvent(const IEvent& ddeEvent)

  -     IDDESetAcknowledgeInfoEvent& setApplicationBusy()

  -     IDDESetAcknowledgeInfoEvent&
          setApplicationSpecificData( unsigned char applicationData )

  -     IDDESetAcknowledgeInfoEvent& setMessageNotUnderstood()

  IEvent

  -     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

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IDDEEvent

  -     IString buffer() const

  -     IDDEEvent& setBuffer(IString dataBuffer)

  -     IDDEEvent& setStatus(unsigned short status)

  -     unsigned short status() const

#### Inherited Protected Data

  - None