Conclusion

As you can see, MFC makes clipboard and drag-and-drop data transfer pretty easy. While you can always write all the code necessary to implement the interfaces (IDataObject, IDropTarget, and IDropSource), using MFC's implementations is much more convenient. While we've looked only at clipboard and drag and drop transfers through IDataObject in this chapter, everything you learn about the IDataObject interface will carry forward to your study of compound documents in the next chapter.



Programming Microsoft Visual C++
Programming Microsoft Visual C++
ISBN: 1572318570
EAN: 2147483647
Year: 1997
Pages: 332

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net