MMCTask.ActionType property

The returned property returns the type of action triggered when a user clicks the task.

This property is read-only.

Syntax

MMCTask.ActionType

Property value

The ActionType property is the long integer specified in the eActionType member of the MMC_TASK structure returned in the IEnumTASK::Next method.

Remarks

This property determines which of the following properties are set: CommandID, ActionURL, Script, and ScriptLanguage.

The following table describes the action types.

Value Meaning
0 When the user clicks the task, the taskpad calls the TaskNotify method of the MMCCtrl control with pvArg set to the value in the CommandID property of the task.
If the MMCTask object specifies this value, the CommandID property contains the command ID and the ActionURL, Script, and ScriptLanguage are not used.
1 When the user clicks the task, the taskpad activates the link specified by the ActionURL property of the task.
If the MMCTask object specifies this value, the ActionURL property contains the URL and the CommandID, Script, and ScriptLanguage are not used.
2 When the user clicks the task, the taskpad executes the script contained in the Script property using the window.execScript method using the script language specified in the ScriptLanguage property.
If the object specifies this value, the Script property contains the script and the ScriptLanguage property is the script language. The CommandID and ActionURL are not used.

Requirements

Redistributable
MMC 1.1 or later
DLL
Cic.dll