OLEDoVerb requests an embedded object to perform an action.
Return Value
If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).
Parameters
hOle is the handle of the OLE object
iVerb is one of the possible actions:
| Value | Meaning |
|---|---|
| 0 | PRIMARY: Default Open. Usually in-place activation if supported. |
| -1 | SHOW: Default Show. |
| -2 | OPEN: Opens the object for editing in a separate window. |
| -3 | HIDE: Removes its user interface. |
| -4 | UIActivate: Activates an object in place, along with its full set of user-interface tools. |
| -5 | INPLACEActivate: Activates an object in place without displaying tools. |
| -6 | DISCARDUNDOSTATE: Used to tell objects to discard any undo state. |
See also
id-1939469