[haiku-development] Obtaining mouse button type

  • From: James Kim <jkim202@xxxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 09 Jun 2008 16:35:21 +1200

Hi! I have come across another problem with mouse event handling. I need
to find out what button (left, right or none) is being pressed while
BView::MouseMoved(). I have looked at GetMouse() but I cannot figure out
how to retrieve the button information from it because GetMouse()
returns nothing. Any suggestions or a reference to an example would be
very appreciated. Thank you.


Regards,

James


Other related posts: