148 (*FBands)[
i]->SetupData(
this,
info);
165 if(index ==
static_cast<uint>(-1))
171 (*FBands)[
idx]->SetupData(
this,
info);
447 SizeOfReBarBandInfo(
info);
455 if(!
Child()->GetHandle())
#define DIAG_DECLARE_GROUP(group)
Class wrapper for management of color values.
static const TColor None
not-a-color
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
TProperty< uint > Width
Width of the band: don't use -1.
TObjProperty< TBitmap > Bitmap
The band's background bitmap.
TObjProperty< TColor > FgColor
Band colors -.
TProperty< TWindow * > Child
Handle of the band's child window.
TProperty< int > Id
The band's ID number: don't use -1.
void SetupData(TCoolBar *parent, REBARBANDINFO &info)
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
This simple implementation does no more than encapsulte the messages which can be sent to the rebar c...
bool Insert(TCoolBand *band, uint index=-1)
bool GetInfo(TRebarInfo &info)
void SetPalette(TPalette *palette)
void SetBuddy(TWindow *buddy)
TColorScheme & GetColorScheme()
void SetImageList(TImageList *list, TAutoDelete=AutoDelete)
bool Delete(uint index=0)
void SetColorScheme(const TColorScheme &clr)
bool SetInfo(TRebarInfo &info)
void SetTooltip(TTooltip *tip)
TColorScheme * FColorScheme
TCoolBar(TWindow *parent, int id, int x, int y, int w, int h, TModule *module=0)
virtual auto GetWindowClassName() -> owl::TWindowClassName
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...
TNotify is a thin wrapper around the NMHDR structure.
TPalette is the GDI Palette class derived from TGdiObject.
HPALETTE GetHandle() const
Returns the handle of the palette.
void SetImageList(HIMAGELIST Images)
TRect is a mathematical class derived from tagRect.
The tagSIZE struct is defined as.
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...
virtual void SetParent(TWindow *newParent)
Sets the parent for the specified window by setting Parent to the specified new Parent window object.
bool SetWindowPos(HWND hWndInsertAfter, const TRect &rect, uint flags)
Changes the size of the window pointed to by rect.
virtual bool Create()
Creates the window interface element to be associated with this ObjectWindows interface element.
int GetId() const
Returns Attr.Id, the ID used to find the window in a specified parent's child list.
TRect GetWindowRect() const
Gets the screen coordinates of the window's rectangle.
bool ModifyStyle(uint32 offBits, uint32 onBits, uint swpFlags=0)
Modifies the style bits of the window.
uint32 GetStyle() const
Gets the style bits of the underlying window or the 'Style' member of the attribute structure associa...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
virtual void SetupWindow()
Performs setup following creation of an associated MS-Windows window.
HWND GetHandle() const
Returns the handle of the window.
Definition of class TCoolBar.
C++ Functor template implementation.
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
TIPtrArray< TCoolBand * > TCoolBandArray
#define GETOBJMFUNCTOR(T, type, memberFunc)
#define PUTMFUNCTOR(T, type, memberFunc)
#define GETPUTOBJMFUNCTOR(T, type, memberGet, memberPut)
#define GETPUTMFUNCTOR(T, type, memberGet, memberPut)
Definition of class TImageList, an ImageList Common Control wrapper.
Object Windows Library (OWLNext Core)
void InitializeCommonControls(uint controlFlags)
Wrapper for the Windows API function InitCommmonControlsEx.
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.