Class constructor.
Palette (short resId);
Creates a palette dialog which is defined in the resource script.
Palette (
const DG::Rect & rect,
GrowType growType = NoGrow,
CloseType closeType = NoClose,
CaptionType captionType = TopCaption,
FrameType frameType = NormalFrame
);
Creates a palette 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.
- captionType
-
Caption type of the dialog.
- frameType
-
Frame type of the dialog.