L_VecSetHyperlink

#include "lvkrn.h"

L_LVKRN_API L_INT L_VecSetHyperlink(pVector, pObject, uIndex, pTarget)

pVECTORHANDLE pVector;

pointer to the vector handle

pVECTOROBJECT pObject;

pointer to a VECTOROBJECT structure

L_UINT32 uIndex;

index to the target item that will be set

pVECTORLINKDESC pTarget;

pointer to a structure

Sets a target in the target list of the specified vector object's hyperlink.

Parameter

Description

pVector

Pointer to the vector handle.

pObject

Pointer to a VECTOROBJECT structure that references a vector object. This function will set a target in the target list of this hyperlinked vector object. If the object does not have a hyperlink, the function fails.

uIndex

Index to the target item that will be set.

pTarget

Pointer to a VECTORLINKDESC structure that contains the information on the new target to set.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

A hyperlink must be added to a vector object using the L_VecAddHyperlink function before it can be changed using the L_VecSetHyperlink function.

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:

L_VecAddHyperlink, L_VecGetHyperlink, L_VecGetHyperlinkCount, L_VecGotoHyperlink

Topics:

Hyperlink Object

 

Hyperlink Objects

Example

For an example please refer to L_VecGetHyperlink

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C API Help