Contents page

AddItem


AFAppMenu/AddItem

  BOOL = AddItem(AFWindow *window, UBYTE *name, ULONG menuid, LPMsgPort appmsgport)

DESCRIPTION This member allows you to add a menuitem to the Tools menu on the Workbench

INPUTS window - AFWindow pointer to the window to be notified when menu item is selected name - pointer to the menu name menuit - menuid appmsgport - pointer to the msgport to be notified when menu item is selected (can be used for non-standard message dispatching

RESULT TRUE - if success FALSE - if failure

BUGS none known

SEE ALSO RemoveItem