OLE-ACTIVATE

This document covers the following topics:


Description

Activates the default action of an OLE server programmatically. To enable the end user to activate the OLE server, you set the OLE container control's MODIFIABLE attribute to TRUE. The end user then activates the OLE server by using the right mouse button to click in the OLE container control's rectangle; this shows the context menu, from which the end user can choose the appropriate command. The OLE server can also be activated by using the left mouse button to double-click in the OLE container control's rectangle. If the menu item Show Object Verbs is provided, the end user can also use this to activate the server.

Parameters

Name/Data Type Explanation
HANDLE OF GUI Input

Specifies an OLE Container Control.

Response (I4) Output

Natural error (if applicable).

Example:

PROCESS GUI ACTION OLE-ACTIVATE WITH #OCT-1 GIVING #RESPONSE