29 " from handle " <<
static_cast<void*
>(
handle));
41 " copied from TCursor " << (
void*)&
cursor);
58 " loaded from resource " <<
resId);
83 " created from bits (32)");
91 WARN(
iconInfo.fIcon,
"TCursor constructor called with ICONINFO::fIcon == true");
98#if defined(OWL5_COMPAT)
137 TPoint{
static_cast<int>(
i.xHotspot),
static_cast<int>(
i.yHotspot)},
#define WARN(condition, message)
#define PRECONDITION(condition)
#define DIAG_DECLARE_GROUP(group)
#define TRACEX(group, level, message)
TBitmap is the GDI bitmap class derived from TGdiObject.
TCursor, derived from TGdiBase, represents the GDI cursor object class.
auto GetInfo() const -> TInfo
Retrieves information about this cursor.
TCursor(HCURSOR handle, TAutoDelete autoDelete=NoAutoDelete)
Creates a TCursor object and sets the Handle data member to the given borrowed handle.
HCURSOR GetHandle() const
Returns the handle of the cursor with type HCURSOR.
auto GetIconInfoEx() const -> ICONINFOEX
Retrieves information about this cursor.
auto GetIconInfo() const -> ICONINFO
Retrieves information about this cursor.
~TCursor()
Destroys a TCursor object.
Root and abstract class for Windows object wrappers.
void CheckValid(uint resId=IDS_GDIFAILURE)
bool ShouldDelete
Should object delete GDI handle in dtor?
HANDLE Handle
GDI handle of this object.
TPoint is a support class, derived from tagPOINT.
The tagSIZE struct is defined as.
Describes an exception resulting from GDI failures such as creating too many TWindow device contexts ...
Definition of abstract GDI object class and derived classes.
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
THandle GetHandle() const
Return the instance handle of the library module represented by the TModule obect.
HCURSOR LoadCursor(TResId id) const
Wrapper for the Windows API.
Definition of class TModule.
Object Windows Library (OWLNext Core)
TModule & GetGlobalModule()