hgeGUI::AddCtrl

Adds a control to the GUI.

void AddCtrl(
  hgeGUIObject *ctrl
);

Parameters

ctrl
Pointer to a GUI control object to be added to the GUI.

Remarks

The control is an object of any class derived from hgeGUIObject class. All added controls are removed from memory within the GUI destructor.

Requirements

Header: hgegui.h
Import library: hgehelp.lib

See also

DelCtrl, GetCtrl