Guidelines
- Mix MDropAcceptor into your view class.
- In the view class constructor, initialize MDropAcceptor with TViewHandle(*this).
- Implement your view's ChoosePreferredType member function so that it iterates over the list of available data type descriptions and identify a type that your view can use. If the view can't use any of the available types, return false; otherwise, return true.
- Implement your view's AcceptDrop member function so that it uses the dropped data in a fashion appropriate for your view's user interface.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker