Defining an OLE control

An OLE control is defined within a +|-window declaration, as follows:

+|–ole ole_ctrl_id at x, y {

From Sculptor 5 onwards, the position may be defined by pixels or characters.

NOTE: The parent window of an OLE control must include the style flag WS_CONTAINER in its style = clause.


OLE controls

Defining a window object