AnnoCreateCustomMenu

#include “BiAnno.h”

LPVOID CALLBACK AnnoCreateCustomMenu()

Description

This function creates a custom pop-up menu for annotation.

Parameters

None

Return value

Pointer to the custom menu, otherwise NULL. If any error occurs, you can call the AnnoGetLastError function for the last error code.

Programming Notes

If you create a custom pop-up menu, this menu will be dispayed when you click the right mouse button. You can change the default pop-up menu in the annotation. If you want to delete the custom menu call the AnnoDeleteCustomMenu function. You can add menu items to the custom menu with AnnoAddCustomMenuItem function.

Code Example

None