ACTIVATE_DOC command

Content Manager OnDemand makes the document the active document by bringing its document window to the top and giving it the input focus.

Command Parameters
ACTIVATE_DOC /D doc id
Parameters
D
Specifies the document identifier, returned by the OPEN_DOC command, of the document to be activated. This parameter is required.
Action
Content Manager OnDemand makes the document the active document by bringing its document window to the top and giving it the input focus.
Return Codes
0
ARS_DDE_RC_NO_ERROR
2
ARS_DDE_RC_PARM_NOT_SPECIFIED
3
ARS_DDE_RC_INVALID_PARM_VALUE
6
ARS_DDE_RC_NOT_LOGGED_ON
11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
Return Data
None.
Refer to the DoDdeCommand function.
 DoDdeCommand( "ACTIVATE_DOC", "/D 1234", NULL );