12.4 Window Procedures
enum {
edit_Null, /* Set pasteType and other flags */
edit_Cut, /* User actions: */
edit_Copy,
edit_Paste,
edit_Clear,
edit_Duplicate,
edit_SelectAll,
edit_Undo,
edit_Changed, /* Auto-editor has made changes */
edit_EnableItems, /* Enable/Diable Edit menu items */
edit_Import, /* Two more user actions: */
edit_New
};
The last parameter is currently only used by the edit_EnableItems command, in which case it is a handle to the Edit menu.
The edit_Null message is sent before any edit action (except typing). Otherwise, for text, the EditProc is only called for edit_Changed if automatic editting is on. For lists, it is called for all but edit_EnableItems (unless noAutoList is on, in which case this message is sent as well).
Generated with CERN WebMaker