Graphisoft®

Dialog ManagerVersion: 2.0

PopUp::PopUp

Class constructor.

PopUp (
    const Panel &       panel,
    short               item
);

Constructs the popup control from resource.

PopUp (
    const Panel &       panel,
    const Rect &        rect,
    short               vSize,
    short               textOffset
);

Constructs the popup control with the given parameters.

Parameters

panel
A reference to the parent panel of the popup control.
item
The item ID of the popup control.
rect
A reference to the bounding rectangle of the popup control.
vSize
The height of the drop-down list in pixels in the control.
Note: This parameter is not optional, but it is used on Windows only.
textOffset
The pixel offset of the text of the pop-up items from the left.
Note: This parameter is not optional, but it is used on Windows only.