[haiku-development] Handling mouse events with multiple BViews

  • From: James Kim <jkim202@xxxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 09 Jun 2008 11:13:47 +1200

Hi!

I am having trouble detecting mouse clicks in BView. A BViewSubclass
which is drawn inside some BWindow is implementing MouseDown() method
but it won't respond to mouse clicks. The reason is that BWindow
contains other BViews covering the entire BViewSubclass. How do you make
it so that all mouse clicks invoke BViewSubclass' MouseDown() method?
Maybe move BViewSubclass to top layer or something like that?


Regards,

James


Other related posts: