9#if !defined(OWL_STATUSBA_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
51 uint modeIndicators = 0,
59 void Insert(
TGadget&, TPlacement = After,
TGadget* sibling =
nullptr)
override;
64 void SetHintText(LPCTSTR text)
override;
73 bool GetModeIndicator(TModeIndicator i)
const;
74 void SetModeIndicator(TModeIndicator,
bool state);
75 void ToggleModeIndicator(TModeIndicator);
115 uint NumModeIndicators;
124 uint ModeIndicatorState;
131 bool IsModeIndicator(
TGadget* gadget);
133 void InsertSizeGrip(
void);
159 return (ModeIndicatorState & i) ? 1 : 0;
198 return NumModeIndicators;
205 return ModeIndicators;
212 ModeIndicators = modeindicators;
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
TGadget is the base class for the following derived gadget classes:
TBorderStyle
Gadget border styles.
@ Recessed
Recessed into the window.
TMessageBar(TWindow *parent=nullptr, TFont *font=nullptr, TModule *module=nullptr)
Constructs a TMessageBar object with the gadget window font.
virtual void SetHintText(LPCTSTR text)
Sets the hint text displayed on the messagebar.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TPoint is a support class, derived from tagPOINT.
The tagSIZE struct is defined as.
Status bars have more options than a plain message bar: you can have multiple text gadgets,...
TModeIndicator
Enumerates the keyboard modes.
uint GetModeIndicators() const
Returns the bit flags for which indicator is on.
void EvOwlFrameSize(uint sizeType, const TSize &)
BGM SetModeIndicators is nearly useless; after construction, TStatusBar BGM pays almost no attention ...
void PositionGadget(TGadget *previous, TGadget *next, TPoint &) override
Determines the position of the new gadget in relation to any previously existing gadgets and uses the...
TStatusBar(TWindow *parent=0, TGadget::TBorderStyle borderStyle=TGadget::Recessed, uint modeIndicators=0, TFont *font=0, TModule *module=0)
Constructs a TStatusBar object in the parent window and creates any new gadgets and mode indicator ga...
void SetWideHints(bool on)
Control whether hint text is display over the whole window or in a text gadget.
uint EvNCHitTest(const TPoint &point)
If the status bar has a size grip gadget and the mouse is over the gadget, simulates resizing of the ...
void SetSpacing(const TSpacing &spacing)
Sets the spacing to be used between mode indicator gadgets.
bool GetModeIndicator(TModeIndicator i) const
Returns the current status bar mode indicator.
TSpacing & GetSpacing()
Returns the spacing between the mode indicator gadgets.
uint GetNumModeIndicators()
Returns the number of mode indicators that are on.
void SetModeIndicators(uint modeindicators)
Sets the bit flags for which indicator is on.
Derived from TGadget, TTextGadget is a text gadget object.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Definition of class TMessageBar.
Object Windows Library (OWLNext Core).
TSpacing()
Initialize spacing.
Definition of text gadget class TGadget.