AnnoGetMenuItemsCount

Usage                  Long AnnoGetMenuItemsCount (Menu As LONGLONG)

Description         This method gets the number of the menu items in the user defined pop-up menu.

Parameters         Menu                   LONGLONG    Custom pop-up menu

Return value      Returns the number of menu items. If any error occurs, you can call the GetLastAnnoError method for the last error code.

Programming Notes