|
IDL Reference Guide: iTools Object Classes |
|
The IDLitWindow::OnMouseUp procedure method handles notification (from the native window device) that a mouse up event has occurred, and passes along that notification to all observers in the list of window event observers (as specified by calls to the IDLitWindow::AddWindowEventObserver method). You can also simulate a mouse up event by calling this method directly.
| Note Window event observers that handle mouse up events must implement the OnMouseUp method, as described in Implementing the OnMouseUp Interface. In addition, window event observers must implement the OnKeyboard, OnMouseDown, and OnMouseMotion methods. See IDLitWindow::AddWindowEventObserver for details. |
Obj->[IDLitWindow::]OnMouseUp, X, Y, ButtonMask
A long integer representing the x-location (in device coordinates) of the mouse event.
A long integer representing the y-location (in device coordinates) of the mouse event.
An integer containing a bitwise mask indicating which of the left, center, or right mouse button was released:
|
Bitmask
|
Mouse Button
|
|---|---|
|
|
Left
|
|
|
Middle
|
|
|
Right
|
None
When defining a window event observer that handles mouse up events, you must implement an OnMouseUp procedure method with the following signature:
PRO OnMouseUp, Window, X, Y, ButtonMask
where the Window argument is an object reference to the IDLitWindow object in which the event was generated, and all of the other arguments are described above.
In addition, you must implement OnKeyboard, OnMouseMotion, and OnMouseMotion procedure methods, as discussed in IDLitWindow::AddWindowEventObserver.
IDLitWindow::AddWindowEventObserver, IDLitWindow::OnKeyboard, IDLitWindow::OnMouseDown, IDLitWindow::OnMouseMotion
IDL Online Help (March 06, 2007)