Adds a control to the dialog
void Add( CXlControl& ctl ); void Add( int cCtls, ... ); |
Reference to an object of a class descended from CXlControl.
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.
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.
Header: xldialog.h