How to disable dragging from a Rich Edit Control

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-03-19T10:50:15Z Indexed on 2010/03/19 10:51 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

I use a subclass of CRichEditCtrl to provide a CEdit+ type control. One thing I want is to disable drag-drop functionality, which the base class provided by default.

Disabling dropping is easy: ::RevokeDragDrop(m_hWnd);

But I can't see a simple way to disable the control being a drag-source. Is there an easy way?

© Stack Overflow or respective owner

Related posts about win32

Related posts about mfc