Graphisoft®

Dialog ManagerVersion: 2.0

ModalDialog::ModalDialog

Class constructor.

ModalDialog (short resId);

Creates a modal dialog which is defined in the resource script.

ModalDialog (
    const DG::Rect &    rect,
    GrowType            growType = NoGrow,
    CaptionType         captionType = TopCaption,
    FrameType           frameType = NormalFrame
);

Creates a modal dialog with the given parameters without resource.

Parameters

resId
Resource ID of the dialog.
rect
Reference to the frame rectangle of the dialog.
growType
Grow type of the dialog.
captionType
Caption type of the dialog.
Note: The DG::Dialog::LeftCaption type is not usable with modal dialogs.
frameType
Frame type of the dialog.