LEADTOOLS Raster Imaging C++ Class Library Help > LEADTOOLS Raster Imaging Features > Annotations > Used Structures > ANNHYPERLINK |
typedef struct tagANNHYPERLINK
{
L_UINT uStructSize;
L_UINT uLinkMsg;
L_SIZE_T uLinkParam;
L_TCHAR *pLinkText;
L_UINT uLinkType;
} ANNHYPERLINK, *pANNHYPERLINK;
The ANNHYPERLINK structure contains information about the changes to be made in automated mode to the specified object.
Member |
Description |
|
uStructSize |
Size of the ANNHYPERLINK structure. Use sizeof(ANNHYPERLINK). |
|
uLinkMsg |
Value indicating a user-defined message that will be sent to the window associated with the annotation object if uType is ANNLINK_USERMSG. |
|
uLinkParam |
wParam value that is passed to the user-defined message if uType is ANNLINK_USERMSG. |
|
pLinkText |
Character string containing the program to run when the object is clicked, if uType is ANNLINK_RUN. If uType is ANNLINK_WEBPAGE, it is the URL to be accessed by the default browser. This string should be NULL terminated. This parameter is ignored if uType contains any other value. |
|
uLinkType |
Constant that specifies the object's hyperlink type. Possible values are: |
|
|
Value |
Meaning |
|
ANNLINK_NONE |
[0x0000] Object has no hyperlink. |
|
ANNLINK_LTANNEVENT |
[0x0001] WM_LTANNEVENT message will be sent with LTANNEVENT_HYPERLINK |
|
ANNLINK_USERMSG |
[0x0002] The user-defined message will be sent with wParam as the wParam message of this function and lParam containing the handle of the object. |
|
ANNLINK_RUN |
[0x0003] The program specified in pLink will be run. Both the program and the command line parameters have to be specified in pLink. |
|
ANNLINK_WEBPAGE |
[0x0004] The web page with the URL specified in pLink will be opened in the current browser. Note that not all web browsers accept a page on the command line. Some will simply go to their default home page. |
Comments
This structure is part of the union of the ANNCHANGEPARAM structure. For more information, see the documentation for ANNCHANGEPARAM.
See Also
Topics: |