VECTORLINKDESC

Summary

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

Syntax

typedef struct _VECTORLINKDESC 
{ 
   L_BOOL bObject; // TRUE means the link points to a vector object 
   union 
   { 
      struct 
      { 
         VECTOROBJECT target; // the target object if bObject is TRUE 
         VECTORLINKHANDLING handling; // specifies how the toolkit will handle link activation 
      }vectorobject; 
      struct 
      { 
         VECTORLINKFILEINFO target; // information about the target file if bObject is FALSE 
         L_VECTOR_WND hwndParent; // Parent window if ( handling ) is VECTORLINKHANDLING_NEWWINDOW or if target is a file 
      }fileobject; 
   }tar; 
}VECTORLINKDESC, *pVECTORLINKDESC; 

Members

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

VECTOROBJECT target

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

VECTORLINKHANDLING handling

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

VECTORLINKFILEINFO target

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

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

Usage

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

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.