Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

VECTORLINKDESC

Show in webframe

typedef struct _VECTORLINKDESC
{
   L_BOOL bObject;

   union
   {
      struct
      {
         VECTOROBJECT target;
         VECTORLINKHANDLING handling;
      }vectorobject;

      struct
      {
         VECTORLINKFILEINFO target;
         HWND hwndParent;
      }fileobject;
   }tar;

}VECTORLINKDESC, *pVECTORLINKDESC;

The VECTORLINKDESC structure is required to set the target type of a hyperlink object in the Vector toolkit.

Member

Description

bObject

Flag that indicates whether the Vector object will be displayed or information about the target will be activated when the hyperlinked vector object is clicked. Possible values are:

 

Value

Meaning

 

TRUE

A vector object will be displayed when the hyperlinked vector object is clicked. This vector object is contained in the target member of the vectorobject struct.

 

FALSE

Only information about the target will be displayed when the hyperlinked vector object is clicked. This information is contained in the VECTORLINKFILEINFO member of the fileobject struct.

target

Vector object that will be displayed when the hyperlinked vector object is clicked. Valid if bObject is TRUE.

handling

VECTORLINKHANDLING value that indicates how the link activation will be handled. Valid if bObject is TRUE.

target

Information about the target that will be activated when the hyperlinked vector object is clicked. Valid if bObject is FALSE.

hwndParent

Handle to the parent window which will host the new application that will start when the hyperlinked vector object is clicked.

Comments

pVECTORLINKDESC is a pointer to a VECTORLINKDESC structure. Where the function parameter type is pVECTORLINKDESC, you can declare a VECTORLINKDESC variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pVECTORLINKDESC variable is necessary only if your program requires a pointer.

The VECTORLINKDESC structure is used with the following functions:

LVectorObject::AddHyperlink

LVectorObject::GetHyperlink

LVectorObject::SetHyperlink

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.