IDLitWindow::OnMouseUp
Syntax | Arguments | Keywords | Implementing the OnMouseUp Interface | Version History | See Also
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.
Syntax
Obj->[IDLitWindow::]OnMouseUp, X, Y, ButtonMask
Arguments
X
A long integer representing the x-location (in device coordinates) of the mouse event.
Y
A long integer representing the y-location (in device coordinates) of the mouse event.
ButtonMask
An integer containing a bitwise mask indicating which of the left, center, or right mouse button was released:
Keywords
None
Implementing the OnMouseUp Interface
When defining a window event observer that handles mouse up events, you must implement an OnMouseUp procedure method with the following signature:
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.
Version History
See Also
IDLitWindow::AddWindowEventObserver, IDLitWindow::OnKeyboard, IDLitWindow::OnMouseDown, IDLitWindow::OnMouseMotion