subclassing edit control and preventing copy paste clipboard
"amante1il" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
Hi Guys,
I have an Edit Control in my dialog. I want to prevent the user from copying text with Ctrl+C and Clipboard functions with right click.
I tried Subclassing the Edit control with a CEdit class - but it dosen't have a SubClass function.
I tried catching the WM_COPY, WM_CUT etc' messages in the dialog, but it dosen't catch the Edit Control messages. Only on the dialog.
Any ideas how to do it?
Thanks in Advanced,
Don
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/