[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        RemoveAppMenuItem - remove a menu item from Workbench's list     (V36)
                            of AppMenuItems.

   SYNOPSIS
        success = RemoveAppMenuItem(AppMenuItem)
         D0                            A0

        bool removeappmenuitem(struct appmenuitem *);

   FUNCTION
        Attempt to remove an AppMenuItem from Workbench's list
        of AppMenuItems.

   INPUTS
        AppMenuItem - pointer to an AppMenuItem structure returned by
                      AddAppMenuItem.

   RESULTS
        success - TRUE if the menu could be removed, FALSE otherwise.

   NOTES
        As with anything that deals with asynchronous operation, you will need
        to do a final check for messages on your appmessage port for messages
        that may have come in between the last time you checked and the
        call to removed the AppMenuItem.

   SEE ALSO
        workbench.library/addappmenuitema