user docs: add note about use of BView::GetMouse() in BView::MouseUp()

Fixes #18606

Change-Id: I2f6d9cd67de6cd4223b6837bb1b8b0cd1de79800
This commit is contained in:
PulkoMandy 2023-09-30 21:26:38 +02:00
parent 35478ccd4e
commit ae2049aa4f

View File

@ -1056,6 +1056,11 @@ SetViewColor(Parent()->ViewColor());
\param where The point on the screen where to mouse pointer is when
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
*/