LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

ole-control-user-component

Function
Summary

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

Signature

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

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

Arguments

pane

An ole-control-pane.

user-component

A COM interface pointer.

Description

The function 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 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.

The user-component is 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 .

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

See also

ole-control-pane


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex