LBaseFile::SetBitmap

#include "ltwrappr.h"

L_VOID LBaseFile::SetBitmap(pBitmap)

LBitmapBase * pBitmap;

/* pointer to a bitmap object */

Sets the bitmap object that will be used by I/O functions.

Parameter

Description

pBitmap

Pointer to a LEAD bitmap object to be used for I/O functons.

Returns

None

Comments

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

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

Required DLLs and Libraries

LTKRN

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

L_INT LBaseFile__SetBitmapExample(LBitmapBase   *pLBitmap)
{
   LBaseFile baseFile;
    baseFile.SetBitmap(pLBitmap) ;
   return SUCCESS;
}