Guidelines
- Create an interactor class by deriving from TInteractor and MMouseEventHandler.
- Override the interactor's, MouseDown, MouseUp, MouseMoved, MouseEntered, and MouseExited events to provide feedback while the mouse gesture is taking place. Override HandleActivate to start receiving necessary mouse event. Override HandleDeactivate to stop receiving mouse events.
- Write your view class so it inherits from MMouseEventHandler.
- Override the view's MouseDown member functions to create an instance of your interactor class and start the interactor. Return true to prevent the mouse event from propagating to your view's parent view.
[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