LVectorDialog::LVectorDialog

#include "ltwrappr.h"

L_VOID LVectorDialog::LVectorDialog(void)

L_VOID LVectorDialog::LVectorDialog(pLVector)

LVectorBase L_FAR *pLVector;

/* pointer to an LVectorBase object */

Constructs and initializes the member variables of the class object.

Parameter

Description

pLVector

Pointer to an LVectorBase object that references the vector.

Returns

None

Comments

These are the constructors for the LVectorDialog class. They construct and initialize the member variables of the class object.

LVectorDialog::LVectorDialog(void) is the default constructor.

LVectorDialog::LVectorDialog(pLVector) constructs an LVectorDialog object and allocates a vector from another LEAD vector handle.

Required DLLs and Libraries

LVKRN
LVDLG
LTFIL

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:

LVectorDialog::~LVectorDialog, Class Members

Example

For an example of LVectorDialog::LVectorDialog(void), refer to LVectorDialog::IsValid.

This is an example for LVectorDialog::LVectorDialog(pLVector):

//Example38
L_VOID Example38(HWND hWnd)
{
   VECTORPOINT rotatePoint = {90,0,0,0};
   VECTORPOINT originPoint = {0,0,0,0};

   LVectorBase Vector;
   Vector.Load(TEXT("test.dxf"));

    LVectorDialog VectorDlg(&Vector);

    VectorDlg.EnableAutoProcess();
    VectorDlg.DoModalVectorRotate(hWnd, &rotatePoint, &originPoint);

    //Get a pointer to the vector (refers to Vector)
    LVectorBase *pVector = VectorDlg.GetVector();

    //Do something with pointer ...

   //destructor called when out of scope
}