LDialogFile::LDialogFile

#include "ltwrappr.h"

L_VOID LDialogFile::LDialogFile()

L_VOID LDialogFile::LDialogFile(pBitmap)

LBitmapBase L_FAR * pBitmap;

/* pointer to an LBitmapBase object */

Constructs and initializes the member variables of the LDialogFile object.

Parameter

Description

pBitmap

Pointer to the LBitmapBase object referencing the bitmap object to assign to the specified object.

Returns

None

Required DLLs and Libraries

LTDLGFILE
LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM
LTFIL
LTDIS
LTIMG

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, LDialogFile::~LDialogFile

Topics:

Using Imaging Common Dialog

Example

//This is an example for : LDialogFile::LDialogFile ()
L_VOID TestFunction( ) 
{
   LBase::LoadLibraries(LT_ALL_LEADLIB);//make sure all libraries are loaded
   
   LDialogFile MyDialogFile;     //construct a dialogfile object
   //.... do something here   ....   
   //Destructor is called upon returning from function
}

//This is an example for : LDialogFile::LDialogFile (pBitmap) 

L_VOID TestFunction(LBitmapBase * BitmapObj) 
{
   LBase::LoadLibraries(LT_ALL_LEADLIB);//make sure all libraries are loaded
   
   LDialogFile MyDialogFile (BitmapObj);     //construct a dialogfile object
   //.... do something here   ....   
   
}