Most of this won't work, or will have undesired side effects:
- disabling the memo will also prevent users from scrolling the memo.
- disabling the popup menu, will also disable other commands on it and it is
hard, since it is not easily accessible at the Delphi level (it's not the
same menu the PopupMenu property exposes).
- Clearing the clipboard is not what was asked for.

Overriding the message handlers for WM_CUT and WM_COPY, or the WndProc
method is the most reliable, least tricky and easiest way, I'd say.

Peter
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to