42#if !defined(BI_COMP_GNUC)
63#if !defined(BI_COMP_GNUC)
94 return new TXGdi(*
this);
TGdiBase()
This default constructor sets Handle to 0 and ShouldDelete to true.
void CheckValid(uint resId=IDS_GDIFAILURE)
static void _CheckValid(HANDLE handle, uint resId=IDS_GDIFAILURE)
HANDLE Handle
GDI handle of this object.
Describes an exception resulting from GDI failures such as creating too many TWindow device contexts ...
static void Raise(uint resId=IDS_GDIFAILURE, HANDLE handle=0)
Throws the exception.
TXGdi(uint resId=IDS_GDIFAILURE, HANDLE handle=0)
Constructs a TXGdi object with a default IDS_GDIFAILURE message.
void Throw()
Throws the exception object.
static tstring Msg(uint resId, HANDLE)
Converts the resource ID to a string and returns the string message.
TXOwl is root class of the ObjectWindows exception hierarchy.
Definition of base most abstract GDI object class, and associated exception class.
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
static tstring MakeMessage(uint resId, const tstring &infoStr, TModule *module=&GetGlobalModule())
Object Windows Library (OWLNext Core)