64 memset(
this, 0,
sizeof(TOOLINFO));
80 memset(
this, 0,
sizeof(TOOLINFO));
97 memset(
this, 0,
sizeof(TOOLINFO));
112 memset(
this, 0,
sizeof(TOOLINFO));
126 memset(
this, 0,
sizeof(TOOLINFO));
137 memset(
this, 0,
sizeof(TOOLINFO));
150 memset(
this, 0,
sizeof(TOOLINFO));
172 if (&
other !=
this) {
173 *((TOOLINFO*)
this) = *((TOOLINFO*)&
other);
390 TControl(parent, 0,
_T(
""), 0, 0, 0, 0, module)
482 TModule&
module = m ? *m : *GetModule();
500 TModule&
module = m ? *m : *GetModule();
#define WARNX(group, condition, level, message)
#define PRECONDITION(condition)
#define DIAG_DECLARE_GROUP(group)
Base class for an extensible interface for auto enabling/disabling of commands (menu items,...
virtual void Enable(bool enable=true)
Enables or disables the command sender.
uint Flags
TCommandStatus flags Is TCommandStatus::WasHandled if the command enabler has been handled.
@ NonSender
Command does not generate WM_COMMAND messages.
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...
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
TTooltipText identifies a tool for which text is to be displayed.
void SetText(LPCTSTR buff)
Sets text of tooltip to specified buffer.
void CopyText(LPCTSTR buff)
Sets the text of the tooltip.
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 bool Create()
Creates the window interface element to be associated with this ObjectWindows interface element.
TWindow * GetParent() const
Retrieves the OWL object of the parent window. If none exists, returns 0.
void SetFlag(uint mask)
Sets the specified TWindow wfXxxx constant flags (for example wfAlias, wfTransfer,...
TModule * GetModule() const
Returns a pointer to the module object.
bool IsWindow() const
Returns true if an HWND is being used.
uint32 SetStyle(uint32 style)
Sets the style bits of the underlying window or the 'Style' member of the attribute structure associa...
bool ModifyExStyle(uint32 offBits, uint32 onBits, uint swpFlags=0)
Modifies the style bits of the window.
Definition of classes for CommonControl encapsulation.
Definition of abstract GDI object class and derived classes.
TWindowFlag
Define bit masks for the internally used flag attributes of TWindow.
@ wfAutoCreate
Create the HWND when our parent is created.
char * strnewdup(const char *s, size_t minAllocSize=0)
Object Windows Library (OWLNext Core)
const unsigned TOOLTIP_TIMERID
void InitializeCommonControls(uint controlFlags)
Wrapper for the Windows API function InitCommmonControlsEx.
const int DefTipTextCacheSize
void InUse(const T &arg)
Handy utility to avoid compiler warnings about unused parameters.
auto GetCommCtrlVersion() -> DWORD
Returns the version number of the Common Control library (ComCtl32.dll).
#define CONST_CAST(targetType, object)
#define COUNTOF(s)
Array element count Important: Only use this with an argument of array type.
Definition of TUIMetric, a UI metrics provider class.
Base window class TWindow definition, including HWND encapsulation.