// /// Constructs a TGroupBox object to be associated with a group box control of a /// TDialog. object. Invokes the TControl constructor with identical parameters. /// resourceID must correspond to a group box resource that you define. /// /// By default, the parent window is notified when the state of the group box's /// selection boxes has changed /// /// Disables transfer of state data for the TGroupBox // TGroupBox::TGroupBox(TWindow* parent, int resourceId, TModule* module) : TControl(parent, resourceId, module) { NotifyParent = true; DisableTransfer(); }
// /// Constructs a TButton object to be associated with a button control of a TDialog /// object. Calls DisableTransfer to exclude the button from the transfer mechanism /// because there is no data to be transferred. /// The resId parameter must correspond to a button resource that you define. // TButton::TButton(TWindow* parent, int resourceId, TModule* module) : TControl(parent, resourceId, module) { DisableTransfer(); IsDefPB = false; // needed for drawable buttons IsCurrentDefPB = false; // needed for drawable buttons TRACEX(OwlControl, OWL_CDLEVEL, "TButton constructed from resource @" << (void*)this); }