15#if defined(__BORLANDC__)
58 ctl.GetItem(index, *
this);
133 int x,
int y,
int w,
int h,
#define PRECONDITION(condition)
#define DIAG_DECLARE_GROUP(group)
#define TRACEX(group, level, message)
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...
void RemoveImage(int index)
HIMAGELIST GetImageList() const
TTabControl(TWindow *parent, int id, int x, int y, int w, int h, TModule *module=0)
Constructor for TTabControl.
void AdjustRect(bool clientInWindowOut, TRect &rect)
void SetPadding(const TSize &size)
void EvHScroll(uint scrollCode, uint thumbPos, THandle hWndCtl)
Keeps TWindow from rerouting this message.It must be left as is for the tab control,...
void SetToolTips(HWND toolTip)
bool SetItem(int index, const TTabItem &item)
auto Transfer(void *buffer, TTransferDirection) -> uint override
Transfer is not implemented in TTabControl, given that each item interacts with settings outside of t...
~TTabControl() override
Cleans up if underlying Tab support was provided by ObjectWindows.
TSize SetItemSize(const TSize &size)
auto GetWindowClassName() -> TWindowClassName override
Returns the class name of the underlying control associated with the TTabControl object.
int HitTest(TTabHitTestInfo &)
int Insert(const TTabItem &, int index)
bool GetItem(int index, TTabItem &item) const
bool GetItemRect(int index, TRect &rect) const
void EvVScroll(uint scrollCode, uint thumbPos, THandle hWndCtl)
Keep TWindow from rerouting this message - it must be left as is for the tab control as it may origin...
HIMAGELIST SetImageList(HIMAGELIST)
bool SetItemExtra(int extra)
int Add(const TTabItem &)
Inserts a new tab described by the 'item' parameter to the tab control at the position specified by t...
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 SetState(uint32 state, uint32 mask)
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.
void SetLabel(LPCTSTR str, int len=0)
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...
bool IsWindow() const
Returns true if an HWND is being used.
TResult DefaultProcessing()
Handles default processing of events, which includes continued processing of menu/accelerators comman...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
HWND THandle
TWindow encapsulates an HWND.
Definition of GDI DC encapsulation classes: TDC, TWindowDC, TScreenDC, TDesktopDC,...
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
Definition of abstract GDI object class and derived classes.
TTransferDirection
The TTransferDirection enum describes the constants that the transfer function uses to determine how ...
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.
TParam2 MkParam2(const T1 &lo, const T2 &hi)
#define CONST_CAST(targetType, object)
Definition of class TTabItem and TTabControl.
Definition of the UI Helper Classes: TUIHandle, TUIBorder, TUIFace, TUIPart.