8#if !defined(OWL_TOOLTIP_H)
12#if defined(BI_HAS_PRAGMA_ONCE)
96 void EnableSubclassing(
bool enable =
true);
101 HWND GetToolWindow()
const;
121 void FlushCacheText();
156 virtual void SetCheck(
int check);
204 void Activate(
bool activate =
true);
253 uint GetToolCount()
const;
262 { UpdateTipText({::GetParent(ctrl), ctrl,
tip}); }
275 { UpdateTipText({::GetParent(ctrl), ctrl,
tipResId,
m ?
m->GetHandle() : GetModule() ? GetModule()->GetHandle() :
nullptr}); }
282 { UpdateTipText({
toolWnd, {},
ctrlId,
tipResId,
m ?
m->GetHandle() : GetModule() ? GetModule()->GetHandle() :
nullptr}); }
286 void RelayEvent(
MSG&);
290 void GetMargins(
int& left,
int& top,
int& right,
int& bottom)
const;
291 void SetMargins(
int left,
int top,
int right,
int bottom);
296 TResult GetMaxTipWidth()
const;
297 void SetMaxTipWidth(
int width);
299 TColor GetBkColor()
const;
302 TColor GetTextColor()
const;
Class wrapper for management of color values.
Base class for an extensible interface for auto enabling/disabling of commands (menu items,...
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.
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.
int operator==(const TBitSet< T > &bs1, const TBitSet< T > &bs2)
TWindowFlag
Define bit masks for the internally used flag attributes of TWindow.
Object Windows Library (OWLNext Core)
uint32 MkUint32(uint16 lo, uint16 hi)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
LRESULT TResult
Result type.
General definitions used by all ObjectWindows programs.
#define CONST_CAST(targetType, object)