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

TGadget is the base class for several derived classes that support gadget objects that belong to a gadget window, have borders and margins, and their own style attributes. More...

Classes

class  owl::TBarDescr
 Descriptor of Bar Implementation. More...
 
class  owl::TBitmapGadget
 Derived from TGadget, TBitmapGadget is a simple gadget that can display an array of bitmap images one at a time. More...
 
class  owl::TDynamicBitmapGadget
 Class will send EvEnable message to window, so you can set bitmap, using SetCheck() method of TCommandEnabler. More...
 
class  owl::TButtonTextGadget
 Derived from TButtonGadget, TButtonTextGadget represents buttons with bitmap and text, or with text only, or with bitmap only, that you can click on or off. More...
 
class  owl::TButtonGadget
 Derived from TGadget, TButtonGadget represent buttons that you can click on or off. More...
 
class  owl::TControlBar
 Derived from TGadgetWindow, TControlBar implements a control bar that provides mnemonic access for its button gadgets. More...
 
class  owl::TControlGadget
 TControlGadget serves as a surrogate for TControl so that you can place TControl objects such as edit controls, buttons, sliders, gauges, or third-party controls, into a gadget window. More...
 
struct  owl::TMargins
 Used by the TGadgetWindow and TGadget classes, TMargins contains the measurements of the margins for the gadget. More...
 
class  owl::TGadget
 TGadget is the base class for the following derived gadget classes: More...
 
class  owl::TSeparatorGadget
 TSeparatorGadget is a simple class you can use to create a separator between gadgets. More...
 
class  owl::TFlatHandleGadget
 A gadget that is used on the far right of a status bar to provide re-sizing grip for the host window. More...
 
class  owl::TSizeGripGadget
 TSizeGripGadget is a gadget that is used on the far right of a status bar to provide re-sizing grip for the host window. More...
 
class  owl::TGadgetList
 TGadgetList is a list of gadgets with management functions. More...
 
class  owl::TGadgetWindowFont
 Derived from TFont, TGadgetWindowFont is the default font used by TGadgetWindow. More...
 
class  owl::TGadgetWindow
 Derived from TWindow, TGadgetWindow maintains a list of tiled gadgets for a window and lets you dynamically arrange tool bars. More...
 
class  owl::TGadgetControl
 TGadgetControl is a specialized, easily constructed gadget window that holds one gadget for use as a control in a window. More...
 
class  owl::TMenuGadget
 TMenuGadget is a text gadget that, when pressed, acts as a pop-up menu. More...
 
class  owl::TMessageBar
 Derived from TGadgetWindow, TMessageBar implements a message bar with one text gadget as wide as the window and no border. More...
 
class  owl::TModeGadget
 TModeGadget is a mode-tracking text gadget class. More...
 
class  owl::TStatusBar
 Status bars have more options than a plain message bar: you can have multiple text gadgets, different style borders, and you can reserve space for mode indicators. More...
 
class  owl::TToolBox
 

Macros

#define EV_WM_CREATETOOLTIP   OWL_EV_(WM_OWLCREATETTIP, EvCreateTooltips)
 

Variables

const int owl::AS_MANY_AS_NEEDED = -1
 Arranges its gadgets in a matrix.
 

Detailed Description

TGadget is the base class for several derived classes that support gadget objects that belong to a gadget window, have borders and margins, and their own style attributes.

Derived from TWindow, TGadgetWindow maintains a list of gadgets, controls the display of the gadgets, and sends the necessary messages to the gadgets.

Additional gadget classes derived from TGadgetWindow such as TToolBox, TMessageBar, TStatusBar, and TControlBar manipulate gadgets in different ways so that you can enhance a bar or tool box attached to a frame window.

Macro Definition Documentation

◆ EV_WM_CREATETOOLTIP

#define EV_WM_CREATETOOLTIP   OWL_EV_(WM_OWLCREATETTIP, EvCreateTooltips)

Definition at line 367 of file gadgetwi.h.

Variable Documentation

◆ AS_MANY_AS_NEEDED

const int owl::AS_MANY_AS_NEEDED = -1

Arranges its gadgets in a matrix.

All columns are the same width (as wide as the widest gadget) and all rows are the same height (as high as the heighest gadget) You specify the number of rows and columns you want. You can specify AS_MANY_AS_NEEDED in which case the toolbox figures out how many rows or columns are needed based on the opposite dimension (e.g. if there are 20 gadgets and you requested 4 columns then you would get 5 rows)

Definition at line 40 of file toolbox.h.