LVectorGroup::SetVector

#include "ltwrappr.h"

L_VOID LVectorGroup::SetVector(pVector)

LVectorBase L_FAR * pVector;

/* pointer to an LVectorBase object */

Sets an LVectorBase object, or any object derived from LVectorBase, to be used by the Vector Group functions.

Parameter

Description

pVector

Pointer to the LVectorBase object to be used by the Vector Groups functions.

Returns

None

Comments

This function is mainly used internally. Functions that use an LVectorGroup object automatically set the vector.

Required DLLs and Libraries

LVKRN

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:

LVectorGroup::LVectorGroup, Class Members

Topics:

Working with Vector Groups

Example

//Example141
L_VOID Example141(HWND hWnd, LVectorBase *pVector)
{
   LVectorGroup VectorGroup;

   //Associate the LVectorGroup with an LVectorBase
   //Note that most functions that use an LVectorGroup do this automatically
   VectorGroup.SetVector(pVector);

   //...Do something with the vector group
   
   //...LVectorGroup destructor called when VectorGroup goes out of scope
}