On Fri, 19 Mar 1999, David Fedor wrote:
> You're right, adding a menu of id 10000 will (in present versions of the
> OS) give you an edit menu with the standard functionality, without a single
> line of code. Resources with id 10,000 and higher are in the system's
> range, and the system event handlers do the right thing for the system
> resources.
>
> However, I'm fairly certain that there haven't been any guarantees that
> this particular behavior will continue to work in the future. In the
> absence of official blessing and documentation and support, well, it
> depends on how much you care about your apps working on future OS versions.
And past OS versions. In at least OS 2.0 and previous (and perhaps 3.0,
I've not checked), the default Edit menu was not bug-free. The Edit|Cut
selection would crash if a read-only field had the focus. This required a
bit of special code just to bypass this glitch.
> (It happens that writing the code to support an edit menu like this is a
> quite small task, so for a good commercial-quality app it really wouldn't
> be worth it. But for a quick app which is completely under your control
> and not distributed publicly, sure, this'll save you time.)
>
> -David Fedor
> Palm Developer Support
>
--
Kenneth Albanowski ([EMAIL PROTECTED], CIS: 70705,126)