9#if !defined(OWL_TABCTRL_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
27# define TCIF_ALL (TCIF_TEXT|TCIF_IMAGE|TCIF_PARAM)
95 int x,
int y,
int w,
int h,
106 int Insert(
const TTabItem&,
int index);
108 bool Delete(
int index);
114 int GetCount()
const;
115 int GetRowCount()
const;
117 int SetSel(
int index);
122 bool GetItem(
int index,
TTabItem& item)
const;
123 bool GetItemRect(
int index,
TRect&
rect)
const;
124 bool SetItem(
int index,
const TTabItem& item);
125 bool SetItemExtra(
int extra);
127 void SetPadding(
const TSize& size);
135 void RemoveImage(
int index);
140 HWND GetToolTips()
const;
149 uint32 GetExtendedStyle()
const;
152 bool HighLightItem(
int item,
bool highlight=
true);
154 void SetMinTabWidth(
int width);
#define PRECONDITION(condition)
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TRect is a mathematical class derived from tagRect.
The tagSIZE struct is defined as.
TTabControl encapsulates the tab control - a window that provides a user interface analogous to divid...
uint32 SetExtendedStyle(uint32 mask, uint32 style)
void DeselectAll(bool exclFocus=true)
bool HighLightItem(int item, bool highlight=true)
void SetMinTabWidth(int width)
uint32 GetExtendedStyle() const
TTabHitTestInfo is a thin [very thin] wrapper around the TC_HITTESTINFO structure.
TTabItem encapsulates the attributes of a single tab within a tab control.
TTabItem(uint mask)
Constructor for a Tab Item: This constructor is useful when creating a TabItem (TC_ITEM) structure wh...
void SetParam(TParam2 lp)
Sets the user-defined data associated with the tab represented by this item structure.
void SetIcon(int imageIndex)
Sets the index of the image assiciated with the tab represented by this item structure.
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 THandle
TWindow encapsulates an HWND.
HWND GetHandle() const
Returns the handle of the window.
Definition of classes for CommonControl encapsulation.
Definition of container classes used and made available by OWL.
#define DECLARE_RESPONSE_TABLE(cls)
TTransferDirection
The TTransferDirection enum describes the constants that the transfer function uses to determine how ...
Object Windows Library (OWLNext Core)
uint32 MkUint32(uint16 lo, uint16 hi)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
Definition of class TUpDown.