LDialogImage::LDialogImage

#include "ltwrappr.h"

LDialogImage::LDialogImage()

LDialogImage::LDialogImage(pBitmap)

LBitmapBase * pBitmap;

/* pointer to an LBitmapBase object */

Constructs and initializes the member variables of the LDialogImage object.

Parameter

Description

pBitmap

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

Returns

None.

Required DLLs and Libraries

LTDLGIMG
LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM
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:

LDialogImage::~LDialogImage, Class Members

Topics:

Using Imaging Common Dialog

Example

//This is an example for : LDialogImage::LDialogImage ()
L_INT LDialogImage_LDialogImageExample_1( )
{
   LBase::LoadLibraries (LT_ALL_LEADLIB);//make sure all libraries are loaded
   LDialogImage MyDialogImage;     //construct a dialogimage object
   //.... do something here   ....   
   //Destructor is called upon returning from function
   return SUCCESS;
}
//This is an example for : LDialogImage::LDialogImage (pBitmap)
L_INT LDialogImage_LDialogImageExample_2(LBitmapBase * BitmapObj)
{
   LBase::LoadLibraries (LT_ALL_LEADLIB);//make sure all libraries are loaded
   LDialogImage MyDialogImage (BitmapObj);     //construct a dialogimage object
   //.... do something here   ....   
   return SUCCESS;
}