LDialogColor::LDialogColor

#include "ltwrappr.h"

L_VOID LDialogColor::LDialogColor()

L_VOID LDialogColor::LDialogColor(pBitmap)

LBitmapBase L_FAR * pBitmap;

/* pointer to an LBitmapBase object */

Constructs and initializes the member variables of the LDialogColor 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

LTDLGCLR
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:

LDialogColor::~LDialogColor

 

Using Imaging Common Dialog

Example

//This is an example for : LDialogColor:: LDialogColor ()
L_VOID TestFunction( )
{
   LBase::LoadLibraries(LT_ALL_LEADLIB);//make sure all libraries are loaded

   LDialogColor MyDialogColor;     //construct a dialogcolor object

   //.... do something here   ....   
   //Destructor is called upon returning from function
}

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

L_VOID TestFunction(LBitmapBase * BitmapObj)
{
   LBase::LoadLibraries(LT_ALL_LEADLIB);//make sure all libraries are loaded

   LDialogColor MyDialogColor (BitmapObj);     //construct a dialogcolor object

   //.... do something here   ....   

}