OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TToolbarRes Class Reference

#include <owl/resource.h>

Inheritance diagram for owl::TToolbarRes:
owl::TResource< TOOLBARTEMPLATE, RtToolbar >

Public Member Functions

 TToolbarRes (HINSTANCE hInst, TResId id, TAutoDelete del=AutoDelete)
 
 ~TToolbarRes ()
 
TBitmapGetBitmap ()
 
int GetCount () const
 
ushortGetIds () const
 
int GetWidth () const
 
int GetHeight () const
 
- Public Member Functions inherited from owl::TResource< TOOLBARTEMPLATE, RtToolbar >
 TResource (HINSTANCE hModule, TResId resId)
 Loads & locks the specified resource..
 
 TResource (HINSTANCE hModule, TResId resid, LANGID langid)
 Loads & locks a resource of the type 'resType' from the module (hModule).
 
 ~TResource ()
 Unlocks and frees the resource loaded earlier.
 
bool IsOK () const
 Confirms whether resource was found.
 
 operator TOOLBARTEMPLATE * ()
 Conversion operator to point to structure representing binary layout of the resource...
 
DWORD GetSize () const
 Returns the size in bytes of the loaded resource.
 

Protected Member Functions

TOOLBARTEMPLATETBInfo () const
 

Protected Attributes

TBitmapToolbarBitmap
 
bool ShouldDelete
 
- Protected Attributes inherited from owl::TResource< TOOLBARTEMPLATE, RtToolbar >
HGLOBAL MemHandle
 Handle of resource.
 
TOOLBARTEMPLATEMemPtr
 Pointer to locked resource.
 

Detailed Description

Definition at line 85 of file resource.h.

Constructor & Destructor Documentation

◆ TToolbarRes()

owl::TToolbarRes::TToolbarRes ( HINSTANCE hInst,
TResId id,
TAutoDelete del = AutoDelete )

Definition at line 173 of file resource.cpp.

References owl::AutoDelete, ShouldDelete, and ToolbarBitmap.

◆ ~TToolbarRes()

owl::TToolbarRes::~TToolbarRes ( )

Definition at line 188 of file resource.cpp.

References ShouldDelete, and ToolbarBitmap.

Member Function Documentation

◆ GetBitmap()

TBitmap & owl::TToolbarRes::GetBitmap ( )

◆ GetCount()

int owl::TToolbarRes::GetCount ( ) const

◆ GetHeight()

int owl::TToolbarRes::GetHeight ( ) const

◆ GetIds()

ushort * owl::TToolbarRes::GetIds ( ) const

◆ GetWidth()

int owl::TToolbarRes::GetWidth ( ) const

◆ TBInfo()

TOOLBARTEMPLATE & owl::TToolbarRes::TBInfo ( ) const
protected

Member Data Documentation

◆ ShouldDelete

bool owl::TToolbarRes::ShouldDelete
protected

Definition at line 98 of file resource.h.

◆ ToolbarBitmap

TBitmap* owl::TToolbarRes::ToolbarBitmap
protected

Definition at line 97 of file resource.h.


The documentation for this class was generated from the following files: