This virtual function is called when a user releases a mouse button while the mouse pointer is inside the window. The function's button parameter provides a platform independent code of the mouse button that was released, while the x and y parameters provide the (x, y) coordinates of the mouse pointer at that moment. Your application can override this function in your own class in order to process this event.
Parameter | Description |
---|---|
button |
Platform independent code of the mouse button that was released. See CDTWindow::Event_MouseButtonDown for the list of available mouse button codes. |
x |
x coordinate of the mouse pointer when the mouse button was released, in pixels and relative to the origin of the window. |
y |
y coordinate of the mouse pointer when the mouse button was released, in pixels and relative to the origin of the window. |