Graphisoft®

Dialog ManagerVersion: 2.0

ModelessDialog::ModelessDialog

Class constructor.

ModelessDialog (short resId);

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

ModelessDialog (
    const DG::Rect &    rect,
    GrowType            growType = NoGrow,
    CloseType           closeType = NoClose,
    MinimizeType        minimizeType = NoMinimize,
    MaximizeType        maximizeType = NoMaximize,
    CaptionType         captionType = TopCaption,
    FrameType           frameType = NormalFrame
);

Creates a modeless dialog with the given parameters without resource.

Parameters

resId
Resource ID of the dialog.
rect
A reference to the frame rectangle of the dialog.
growType
Grow type of the dialog.
closeType
Close type of the dialog.
minimizeType
Minimize type of the dialog.
maximizeType
Maximize type of the dialog.
captionType
Caption type of the dialog.
Note: The DG::Dialog::LeftCaption type is not usable with modeless dialogs.
frameType
Frame type of the dialog.