>This isn't in the SDK documentation, at least not enough detail that I can
>use, but I noticed the example apps use illegal values for the edit menu
>and don't have any (visible) handlers...
>It seems I just need to construct some kind of standard edit menu with IDs
>in the 10000 range and say the form has a menu and the text field will
>have Cut/Copy/Paste/Undo/Select All/Keyboard/Graffiti Help automatically
>without a single line of code.
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.
(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