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.
Even the O'Reilly book spreads these out in a routine:
Boolean HandleCommonMenuItems(Word menuID)
Is this something that is undocumented?
The SDK does say that certain unspecified menu values will cause the
standard edit menu things to happen, but doesn't elaborate.
I have been putting edit menus where I have needed them, but wanted to
simply do FrmDoDialog for things but had no way of handling menu events to
do the editing.
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.
Did I miss something in the documentation? Or is there something specific
in codewarrior? Or how can I add all of the above functions into my
dialog and have it handled without any effort?