![](../../../Home/Icons/Home.gif)
![](../icons/UpBook.gif)
![](../icons/BookContext.gif)
![](../../../Home/Icons/Search.gif)
![](../../../Home/Icons/Help.gif)
![](../../icons/button_contents.gif)
![](../../icons/button_previous.gif)
Hit detection is described in Chapter 3. To summarize, your view class needs to mix in MMouseEventHandler, and you need to implement the MouseDown function. The following code shows the constructor function where the group is created so that it can be stored in the fWagon field and made available to the MouseDown function. The MouseDown function implementation is also shown.
[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