XLL+ Class Library

CXlDialog::Add

Adds a control to the dialog

[C++]
void Add(
   CXlControl& ctl
);
void Add(
   int cCtls,
    ...
);

Parameters

ctl

Reference to an object of a class descended from CXlControl.

cCtls

Count of the number of arguments following.

...

The remaining cCtls argauments should each be a pointer to an object descended from CXlControl. Each of these will be added to the dialog.

Remarks

This function can be used to add one or more controls to the dialog. Note that the call does not establish "ownership" of the control - the control must be deleted by the user; it will not be automatically cleaned up by the CXlDialog's destructor.

Unless a control is added to the dialog using Add(), it will not be visible.

Requirements

Header: xldialog.h

See Also

CXlDialog Class | CXlDialog Methods