DISABLE_SWITCH command
Content Manager OnDemand disables a toolbar icon and a menu item that allow the user to transfer window focus to the client application.
Command | Parameters |
---|---|
DISABLE_SWITCH | / N number |
- Parameters
- N
- Specifies the number of the menu item/toolbar button to be disabled.
The number must be an integer between 1 and the number specified with
the
DDE Interface --I number,path,resid
. Specifying 1 disables the first menu item/toolbar button; specifying 2 disables the second; and so forth.This parameter is optional. The default is 1.
- Action
- Content Manager OnDemand disables a toolbar icon and a menu item that allow the user to transfer window focus to the client application.
- Return Code
-
- 0
ARS_DDE_RC_NO_ERROR
- 3
ARS_DDE_RC_INVALID_PARM_VALUE
- 11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
- Return Data
- None
Refer to the DoDdeCommand function.
DoDdeCommand( "DISABLE_SWITCH", "", NULL );