AnnoSetUserMsgFunc

#include “BiAnno.h”

void CALLBACK AnnoSetUserMsgFunc( INT_PTR pAnno, UserMsgFn pFunc, void far * lpParam)

Description

This function specifies the callback function for hyperlink.

Parameters

INT_PTR

PAnno

Annotation handle

UserMsgFn

pFunc

Callback function

void far*

lpParam

User defined parameter

Return value

void

Programming Notes

typedef void (CALLBACK *UserMsgFn)(void far * lpParam1, void far * lpParam2);

If you set the A_USER_MSG hyperlink type for an annotation object and click the object on in run mode, the specified pFunc function will be called.

The second parameter of the callback function will contain the pointer to the property structure of the selected annotation object. (See description of Anno_Prop structure).

Code Example

None