Path: utzoo!utgpu!watmath!clyde!att!poseidon!ech
From: ech@poseidon.ATT.COM (Edward C Horvath)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Routines to InsertMenuItem()?
Message-ID: <610@poseidon.ATT.COM>
Date: 3 Dec 88 06:01:54 GMT
References: <1020@ccnysci.UUCP>
Organization: AT&T Bell Laboratories, Lincroft, NJ
Lines: 17

From article <1020@ccnysci.UUCP>, by cpyang@ccnysci.UUCP (Chao Ping Yang):
> ...Menu Items?
> Has anybody already written this or there is a ToolBox routine
> that I am not aware of?  What I mean is how do I work on the
> Menu Items more than SetItem and AppendMenu, like I would like
> to Insert and remove ...

See IM 4, p55ff: the 128K and later ROMS have
	PROCEDURE InsMenuItem (theMenu: MenuHandle; itemString: Str255;
		afterItem: INTEGER);
and
	PROCEDURE DelMenuItem (theMenu: MenuHandle; item: INTEGER);

Your favorite compiler ought to support these.  Traps if you need for asm,
are A826 and A952 respectively.

=Ned Horvath=