|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Root and abstract class for Windows object wrappers. More...
#include <owl/gdibase.h>
Protected Member Functions | |
| void | CheckValid (uint resId=IDS_GDIFAILURE) |
| TGdiBase () | |
| This default constructor sets Handle to 0 and ShouldDelete to true. | |
| TGdiBase (HANDLE handle, TAutoDelete autoDelete=NoAutoDelete) | |
| Initializes members to given values, and validates the handle. | |
Static Protected Member Functions | |
| static void | _CheckValid (HANDLE handle, uint resId=IDS_GDIFAILURE) |
Protected Attributes | |
| HANDLE | Handle |
| GDI handle of this object. | |
| bool | ShouldDelete |
| Should object delete GDI handle in dtor? | |
Root and abstract class for Windows object wrappers.
Provides basic notion of working with a handle, and constructing a C++ object with an aliased handle.
|
protected |
This default constructor sets Handle to 0 and ShouldDelete to true.
This constructor is intended for use by derived classes that must set the Handle member later.
Definition at line 22 of file gdibase.cpp.
References Handle, and ShouldDelete.
|
protected |
Initializes members to given values, and validates the handle.
This constructor is intended for use by derived classes only.
Definition at line 34 of file gdibase.cpp.
References owl::AutoDelete, CheckValid(), Handle, and ShouldDelete.
|
staticprotected |
Definition at line 58 of file gdibase.cpp.
References owl::TXGdi::Raise().
|
protected |
Definition at line 49 of file gdibase.cpp.
References _CheckValid(), and Handle.
|
protected |
|
protected |