#include “BiAnno.h”
BOOL CALLBACK AnnoUISetHyperlink( INT_PTR pAnno, LPSTR szHyperLink, BYTE byType)
Description
This function specifies the hyperlink of the selected object, and sets up the user interface parameters (mark for saving etc).
Parameters
|
INT_PTR |
pAnno |
Annotation handle |
|
LPSTR |
szHyperlink |
Text of the hyperlink |
|
BYTE |
byType |
Type of the hyperlink |
Return value
TRUE on success, otherwise FALSE.
Programming Notes
Available hyperlink types:
A_HYPERLINK_NONE - There is no hyperlink for the object. In this case the hyperlink text is ignored.
A_ANNO_MSG - If you click on the object in run mode the defined callback function will be called. In this case the hyperlink text is ignored.
A_USER_MSG - If you click on the object in run mode the user defined callback function will be called. In this case the hyperlink text is ignored.
A_RUN_EXE - If you click on the object in run mode the specified exe program will be executed. In this case the exe path and name is stored in the hyperlink text.
A_WEB_PAGE - If you click on the object in run mode the specified web page will be displayed. In this case the URL of the page is stored in the hyperlink text.
Code Example
None