LVectorWindow::StartChanging

#include "ltwrappr.h"

virtual L_INT LVectorWindow::StartChanging(nChangeType, nChangeCategory)

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

Parameters

L_UINT 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.

L_UINT 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

Value Meaning
SUCCESS Continue the operation without interrupting it.
< 1 An error occurred. Refer to Return Codes. This will stop the operation.

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 Vector Change Notifications and Notification Categories.

The high level window classes override this function so it will be notified of any changing done to the vector object. This allows these classes to do some special processing before starting the changing operation.

If you override this function you must do one of the following:

Override this function to be notified of any scaling on the displayed vector.

A scale can be requested by:

Required DLLs and Libraries

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help