### IDDEExecuteEvent

  The IDDEExecuteEvent class provides event information to a server application when a client has asked the server to execute a command string.

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

### IDDEExecuteEvent - 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.

~IDDEExecuteEvent

      public:
      ~IDDEExecuteEvent()

Supported Platforms

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

IDDEExecuteEvent

      public:
      IDDEExecuteEvent(const IEvent& ddeEvent)

Supported Platforms

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

### Event Information

Use these members to query the command string sent by the DDE client application.

commands

      public:
      IString commands() const

  Returns the command string that the client has asked the server to execute.
  Note: The IDDEExecuteEvent::commands 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

### IDDEExecuteEvent - 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 IEvent& ddeEvent)

  -     IDDESetAcknowledgeInfoEvent( const IDDESetAcknowledgeInfoEvent& 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(const IEventResult& eventResult)

  -     IEvent& setResult(bool 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