All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

ole-control-user-component Accessor

Summary

Gets and sets the user-component of an ole-control-pane.

Package

capi

Signature

ole-control-user-component pane => user-component

(setf ole-control-user-component) user-component pane => user-component

Arguments
pane
user-component
A COM com:i-ole-object interface pointer or nil.
Values
user-component
A COM com:i-ole-object interface pointer or nil.
Description

The accessor ole-control-user-component gets and sets the user-component of the ole-control-pane pane.

user-component (if non-nil) is a COM interface pointer of an object that supports the com:i-ole-object interface, and has been opened and initialized and is ready to be displayed. This is typically created by calling OleCreate, OleCreateFromFile, OleCreateFromData or OleLoad with pCLientSite null.

user-component will be closed and released by the ole-control-pane pane, so after you have called (setf ole-control-user-component) you should not try to use it again or release it. Setting user-component also sets the pane's component-name to nil.

Notes

This function is implemented only in LispWorks for Windows. Load the functionality by (require "embed").

See also

ole-control-pane


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42