OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Constructing and Destroying TMessageBar

Here's the constructor for TMessageBar:

TMessageBar(TWindow* parent = 0, TFont* font = new TGadgetWindowFont, TModule* module = 0);

Its parameters are described in the following table:

ParameterDescription
parentA pointer to the message bar's parent window.
font

A pointer to a TFont object that contains the font for the gadget window.

By default, font is set to TGadgetWindowFont, which is a variable-width sans-serif font, usually Helvetica.

modulePassed as the TModule parameter for the TDialog base constructor. Defaults to 0.

The destructor TMessageBar::~TMessageBar deletes the object's text storage.

See Also