LVectorBase::StartChanging

#include "ltwrappr.h"

virtual L_INT LVectorBase::StartChanging(nChangeType, nChangeCategory)

L_UINT nChangeType;

/* type of change */

L_UINT nChangeCategory;

/* the change category */

This function is called by every function that affects the vector.

Parameter

Description

nChangeType

The type of change to be done to the vector. For a list of all the change types and notifications refer to Bitmap and Vector Change Notifications and Notification Categories.

nChangeCategory

The change category. For a list of all the change types and notifications refer to Bitmap and Vector Change Notifications and Notification Categories.

Returns

SUCCESS

Continue the operation without interrupting it.

< 1

An error occurred. Refer to Return Codes. This will halt the operation and stop it.

Comments

This function is called by every function that affects the vector. You can override this function to have control over the different operations that are done to the vector. This function is called before doing any changes to the vector. If you want to cancel the operation, you can return an error code that is less than SUCCESS. If you return SUCCESS, the operation will continue executing. For a list of all the change types and notifications refer to Bitmap and Vector Change Notifications and Notification Categories.

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:

LVectorBase::EndChanging, LVectorBase::EnableChangeNotification, LVectorBase::IsChangeNotificationEnabled, LVectorBase::EnableAlwaysEndNotification, LVectorBase::IsAlwaysEndNotification, Class Members

Topics:

Vector Notification Messages

 

Vector Images: Change Notification

Example

For an example, refer to LVectorBase::EnableAlwaysEndNotification.