This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > ID > IDDECommandHandler Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that handle DDE commands.
This interface uses it two members to handle incoming Dynamic Data Exchange (DDE) messages and to act upon these if required. The incoming message is passed to each of the members in turn in the form of an ANSI string.
Inside ArcMap this interface is already used by the GNetCommandHandler CoClass, however of most importance to developers is the fact that they may implement the interface inside a class of their own. Such a class when registered in the "ESRI MX DDECommandHandlers" category will be given the opportunity, by ArcMap, to respond to any incoming DDE messages. This is done by sending the incoming message as a string, first to CanExecute and then if required to Execute. Typically the CanExecute function would check the incoming string and if suitable would return a value of TRUE thus causing ArcMap to call Execute where the appropriate action may be taken.
Description | ||
---|---|---|
CanExecute | Indicates if the DDE command can be executed. | |
Execute | Executes the DDE command. |
CoClasses and Classes | Description |
---|---|
GNetCommandHandler (esriArcMapUI) | GNet Command Handler. |