Command: wcomponent

Syntax

{<window> = } wcomponent <component>

Description

Define a window to house an external component.

Parameters

Switches

Notes

This window type is currently available only on Windows systems.

Not all external components can be housed in a window, e.g. xml objects, created by the xmlobj function, cannot.

Deleting a component window will automatically kill the external component housed within it.

Example

Display an ActiveX component in a new window. This is in fact the Windows Media Player complete with video window, controls etc.

wcomponent oleobj('WMPlayer.ocx')

See Also

Commands:

component, embed, objlist, window, wopen

Identifiers:

free_window (window), new_window (window), win# (window), window_numbers (numeric)

Structures:

component, window