OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Class TControlGadget

TControlGadget is a fairly simple class that serves as an interface between a regular Windows control (such as a button, edit box, list box, and so on) and a gadget window.

It lets you use a standard Windows control in a gadget window, like a control bar, status bar, and so on.

Constructing and Destroying TControlGadget

Here is the constructor for TControlGadget:

TControlGadget(TWindow& control, TBorderStyle style = None);
  • control is a reference to an ObjectWindows window object. This object should be a valid constructed control object.
  • style is the gadget border style.

The destructor TControlGadget::~TControlGadget destroys the control interface element, then deletes the storage for the control object.

See Also