Mouse Event Handler
Author |
Message |
ericfourfour
|
Posted: Fri Nov 10, 2006 4:47 pm Post subject: Mouse Event Handler |
|
|
I made a mouse handler. It handles when the mouse is pressed, when it is released, when the mouse is clicked and when the mouse is double clicked. A knowledge of polymorphism and inheritance is recommended to understand how to use this.
I attached the mouse handler, an example child handler and a program to use it.
Description: |
The application using the handler. |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
test.t |
Filesize: |
118 Bytes |
Downloaded: |
93 Time(s) |
Description: |
The example child class that displays what event happened, with what button, and where. |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
MouseMessage.tu |
Filesize: |
541 Bytes |
Downloaded: |
83 Time(s) |
Description: |
The mouse event handler class. |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
MouseHandler.tu |
Filesize: |
2.34 KB |
Downloaded: |
85 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
|
|