AnnoIsMenuItemEnabled

Usage                  Boolean AnnoIsMenuItemEnabled (Menu As LONGLONG, MenuItem As Long)

Description         This method gets the state of the menu item in the user defined pop-up menu.

Parameters         Menu                   LONGLONG    Custom pop-up menu

                             MenuItem           Long                   Index of the menu item in the menu. This is a zero based integer.

Return value      TRUE if the specified menu item is enabled, otherwise FALSE. If any error occurs, you can call the GetLastAnnoError method for the last error code.

Programming Notes        See AnnoEnableMenuItem for more information.