LFile::SetBitmap

#include "ltwrappr.h"

L_VOID LFile::SetBitmap(pBitmap)

LBitmapBase * pBitmap;

/* pointer to a bitmap object */

Sets the bitmap object to be used by the file functions.

Parameter

Description

pBitmap

Pointer to the bitmap object to set.

Returns

None

Comments

Before you can use some of the file functions, a bitmap must be associated with the class object. Until you have associated a bitmap with the LFile object, the object is considered invalid.

If the filename of the LBitmapBase object is enabled, then the bitmap filename will be transferred to the class object.

For more information, see LFile::IsValid.

Required DLLs and Libraries

LTFIL
File format DLLs

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Example

For an example, refer to LFile::GetFileName.