Index

# XResourceLibrary

XObject &rarrXResourceLibrary

public
- LoadBitmap
- LoadIcon
- LoadMenu
- LoadString
- QueryBitmapSize
- ~XResourceLibrary
- constructors/destructors
- XResourceLibrary

#### Derrived

: public XObject

## public

###

LoadBitmap

#### Definition

`

OOL_BITMAPHANDLE LoadBitmap ( XWindow* w, LONG id, LONG stretchX, LONG stretchY )

OOL_BITMAPHANDLE LoadBitmap ( XWindow* w, LONG id, LONG stretchX=0, LONG stretchY=0 )

`

#### Returns

OOL_BITMAPHANDLE

###

LoadIcon

#### Definition

`

OOL_ICONHANDLE LoadIcon ( LONG iconId )

`

#### Returns

OOL_ICONHANDLE

###

LoadMenu

#### Definition

`

HWND LoadMenu ( XWindow* fr, unsigned long id )

OOL_WINDOWHANDLE LoadMenu ( XWindow* f, unsigned long id )

`

#### Returns

HWND

OOL_WINDOWHANDLE

###

LoadString

#### Definition

`

BOOL LoadString ( XString* string, unsigned long resId )

`

#### Returns

BOOL

###

QueryBitmapSize

#### Definition

`

void QueryBitmapSize ( OOL_BITMAPHANDLE hbm, LONG& cx, LONG& cy )

`

#### Returns

void

###

~XResourceLibrary

#### Definition

`

~XResourceLibrary ( )

`

#### Returns

-

## constructors/destructors

###

XResourceLibrary

destructs a resource library. Constructs a resource library.

#### Definition

`

XResourceLibrary ( XProcess* app, char* path )

XResourceLibrary ( XProcess* , char* path = NULL )

`

#### Parameters

: XProcess * theOwner A pointer to the owning process. Every resource which is build from the library will be owned by this process char * thePath path of the library without extension ".DLL". If the path is empty, a resource library will be generated with the resources which are linked to the exe-file. If the file cannot be found an error ocures. Default is NULL.

#### Returns

-

-

Created by AutoDoc, (C) 1996 by Jens von Pilgrim