user docs: add note about use of BView::GetMouse() in BView::MouseUp()
Fixes #18606 Change-Id: I2f6d9cd67de6cd4223b6837bb1b8b0cd1de79800
This commit is contained in:
@@ -1056,6 +1056,11 @@ SetViewColor(Parent()->ViewColor());
|
|||||||
\param where The point on the screen where to mouse pointer is when
|
\param where The point on the screen where to mouse pointer is when
|
||||||
the mouse button is released.
|
the mouse button is released.
|
||||||
|
|
||||||
|
\note Calling GetMouse() in MouseUp() will return the new state of the mouse buttons
|
||||||
|
(after the mouse button was released). If you want to know which button was released,
|
||||||
|
you have to compare that with the previous state of the buttons, that you can memorize
|
||||||
|
for example by calling GetMouse() in MouseDown().
|
||||||
|
|
||||||
\since BeOS R3
|
\since BeOS R3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user