GetLastAnnoError

Usage                  Long GetLastAnnoError()

Description         This method retrieves the code of the last error occured.

Parameters

Return value      Error code

                             Available error codes:

                             errNoError(=0)                  No error occurred.

                             errInvalidPar(=1)               Invalid parameter was passed to the method.

                             errNotEnoughMemory(=2) Not enough memory.

                             errAddMenuItem(=3)        Error adding new custom pop-up menu item.

                             errInternal(=4)                   Internal error.

                             errEmptyMenu(=5)            There is no menu item in the custom pop-up menu.

                             errDisplayMenu(=6)          Error displaying custom pop-up menu.

                             errWrongObject(=7)          The method is unavailable for specified annotation object.

                             errGetColor(=8)                 Error getting the color of the specified annotation object.

                             errGetHyperlink(=9)          Error getting the hyperlink of the specified annotation object.

Programming Notes        None