9#if !defined(OWL_COLMNHDR_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
29# define HDI_ALL (HDI_BITMAP|HDI_FORMAT|HDI_HEIGHT|HDI_LPARAM|HDI_TEXT|HDI_WIDTH)
78 void SetAlignment(TAlign);
81 void SetWidth(
int cx);
82 void SetHeight(
int cy);
84 void SetMask(
int msk);
86 void SetImage(
int item);
87 void SetOrder(
int order);
89 static void SetDefStringSize(
int size);
90 static void SetDefBitmapSize(
int size);
120 int x,
int y,
int w,
int h,
133 int GetCount()
const;
138 int Insert(
const THdrItem& item,
int index);
139 bool Delete(
int index);
155 bool GetItemRect(
TRect&
rect,
int index)
const;
160 bool SetOrderArray(
int size,
int* array);
161 bool GetOrderArray(
int size,
int* array)
const;
TColumnHeader encapsulates the 'header control', a window usually positioned above columns of text or...
HIMAGELIST SetImageList(HIMAGELIST iml)
Version 4.70 functionality.
int SetHotDivider(uint32 value, bool flag=true)
Version 4.70 functionality.
bool GetItemRect(TRect &rect, int index) const
Version 4.70 functionality.
TResult OrderToIndex(int order)
Version 4.70 functionality.
bool SetOrderArray(int size, int *array)
Version 4.70 functionality.
HIMAGELIST CreateDragImage(int index) const
Version 4.70 functionality.
bool GetOrderArray(int size, int *array) const
Version 4.70 functionality.
HIMAGELIST GetImageList() const
Version 4.70 functionality.
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
THdrItem contains information about an item in a header control.
static int DefStringItemSize
Default size of string item.
TAlign
Format flags that determines how the contents (text and/or bitmap) will be layed out.
static int DefBitmapItemSize
Default size of bitmap item.
void SetMask(int msk)
Updates the mask member of the structure.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
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.
Definition of classes for CommonControl encapsulation.
Definition of container classes used and made available by OWL.
TTransferDirection
The TTransferDirection enum describes the constants that the transfer function uses to determine how ...
Object Windows Library (OWLNext Core)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
#define CONST_CAST(targetType, object)
Definition of container classes used and made available by OWL.