Graphisoft®

Dialog ManagerVersion: 2.0

UserControl::UserControl

Class constructor.

UserControl (
    const Panel &       panel,
    short               item
);

Constructs the user control from resource.

UserControl (
    const Panel &       panel,
    const Rect &        rect,
    short               procId
);

Constructs the user control with the given parameters.

Parameters

panel
A reference to the parent panel of the user control.
item
The item ID of the user control.
rect
A reference to the bounding rectangle of the user control.
procId
The control definition procedure ID (it must be within the range of 512 <= procId >= 999).