9#if !defined(OWL_COOLBAR_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
62 void Maximize(
bool ideal);
65 bool ShowBand(
bool show);
105 bool Delete(
uint index = 0);
118 uint GetRowHeight(
int index);
121 bool ToggleBandBorders();
122 bool ToggleVarHeight();
131 int FindBand(
uint id);
#define PRECONDITION(condition)
Class wrapper for management of color values.
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
void GetBorders(TRect &rect)
void Maximize(bool ideal)
TProperty< uint > Width
Width of the band: don't use -1.
void GetRect(TRect &rect)
TObjProperty< TBitmap > Bitmap
The band's background bitmap.
TObjProperty< TColor > FgColor
Band colors -.
TProperty< TWindow * > Child
Handle of the band's child window.
void DragMove(const TPoint &point)
TProperty< int > Id
The band's ID number: don't use -1.
TObjProperty< TSize > MinSize
Minimum size of the band's child window don't use TSize(-1,-1)
TProperty< uint > Style
Band style flags.
TObjProperty< tstring > Text
Band text label.
TProperty< uint > Mask
Mask indicating which other members are valid.
TProperty< int > ImageIndex
Band image index (into rebar image list): don't use -1.
TObjProperty< TColor > BgColor
void BeginDrag(const TPoint &point)
This simple implementation does no more than encapsulte the messages which can be sent to the rebar c...
void SetBgColor(const TColor &clr)
TFuncPropertyVarPut< TPalette * > Palette
void SetTextColor(const TColor &clr)
TDropTarget GetDropTarget()
TFuncProperty< bool > Unicode
TFuncObjPropertyGet< TCoolBandArray > Bands
TFuncObjProperty< TColorScheme > ColorScheme
TFuncObjProperty< TColor > TextColor
void SetUnicode(bool unicode)
bool SetRect(const TRect &rec)
TColorScheme * FColorScheme
uint HitTest(TRbHitTestInfo &tst)
TCoolBandArray & GetBands()
TImageList * GetImageList()
TFuncPropertyVarPut< TTooltip * > Tooltip
TFuncObjProperty< TColor > BgColor
TFuncPropertyVarPut< TWindow * > Buddy
"Parent" for notification messages
uint GetRowHeight(int index)
Wraps the IDropTarget interface (currently lightweight).
TImageList is a wrapper class for the ImageList common "control".
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TPalette is the GDI Palette class derived from TGdiObject.
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
HWND GetHandle() const
Returns the handle of the window.
Definition of classes for CommonControl encapsulation.
Definition of class TControl.
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
TIPtrArray< TCoolBand * > TCoolBandArray
TCoolBandArray::Iterator TCoolBandArrayIter
Object Windows Library (OWLNext Core)
uint32 MkUint32(uint16 lo, uint16 hi)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
Credits: The Property pattern is taken from "Patterns in Practice: A Property Template for C++",...
Definitions of Win95 Shell Clases: TShellItem, TShellItemIterator, TPidl, TShellMalloc.
Definition of container classes used and made available by OWL.