When using MFC, you can use the
COleDataSource
and
COleDataObject
classes to implement Drag & Drop. The link
http://aclacl.brinkster.net/MFC/ch19c.htm[
^] provides a good explanantion with examples.
To pass text, you can use global memory data with the
CF_TEXT
and
CF_UNICODETEXT
formats.