AnnoCheckMenuItem

Usage                  Boolean AnnoCheckMenuItem (Menu As LONGLONG, MenuItem As Long, Checked As Boolean)

Description         This method sets 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.

                             Checked              Boolean              If this parameter is TRUE, the menu item will be checked, otherwise it is unchecked.

Return value      TRUE on success, otherwise FALSE. If any error occurs, you can call the GetLastAnnoError method for the last error code.

Programming Notes        See AnnoIsMenuItemChecked for more information.