86 WARN(!
iconInfo.fIcon,
"TIcon constructor called with ICONINFO::fIcon == false");
92#if defined(OWL5_COMPAT)
128 TPoint{
static_cast<int>(
i.xHotspot),
static_cast<int>(
i.yHotspot)},
#define WARN(condition, message)
#define DIAG_DECLARE_GROUP(group)
TBitmap is the GDI bitmap class derived from TGdiObject.
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.
TIcon, derived from TGdiObject, represents the GDI object icon class.
auto GetIconInfo() const -> ICONINFO
Retrieves information about this icon.
TIcon(HICON handle, TAutoDelete autoDelete=NoAutoDelete)
Creates a TIcon object and sets the Handle data member to the given borrowed handle.
auto GetIconInfoEx() const -> ICONINFOEX
Retrieves information about this icon.
auto GetInfo() const -> TInfo
Retrieves information about this icon.
~TIcon()
Destroys the icon and frees any memory that the icon occupied.
HICON GetHandle() const
Returns the handle of the icon with type HICON.
TPoint is a support class, derived from tagPOINT.
static HICON ExtractIcon(HINSTANCE, LPCTSTR, UINT)
Invokes 'ExtractIcon' indirectly.
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.
Object Windows Library (OWLNext Core)
Definitions of Win95 Shell Clases: TShellItem, TShellItemIterator, TPidl, TShellMalloc.