I've now created a window that does everything for me the way I want it. I guess the popupMenu blocked the event loop or something being in the same thread as my main window(right?). On Thu, Jan 15, 2009 at 9:23 PM, Mauro de Wit <maurodewit@xxxxxxxxx> wrote: > >If that is really the case, then you are either using it wrong, or > >there is a bug that should be fixed. > > I'm developing on R5, so I assume the bug would be me ;-) > Off course I will switch to Haiku as soon as it is alpha. > > >If I recall correctly, SetMouseEventMask only applies on MouseDown and > >is cleared after receiving a MouseUp. If you want a more permanent > >notification SetEventMask is to be used instead. May be off on a few > >details, that's going from memory. > > I've use SetEventMask without any luck.... > > It's just that I sometimes find it hard to understand how the whole > mechanism of the multithreaded windows work. Locking windows, event loops > etc. > Still learning! > > > On Thu, Jan 15, 2009 at 9:09 PM, Rene Gollent <anevilyak@xxxxxxxxx> wrote: > >> On Thu, Jan 15, 2009 at 2:58 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> >> wrote: >> > If that is really the case, then you are either using it wrong, or >> > there is a bug that should be fixed. >> >> If I recall correctly, SetMouseEventMask only applies on MouseDown and >> is cleared after receiving a MouseUp. If you want a more permanent >> notification SetEventMask is to be used instead. May be off on a few >> details, that's going from memory. >> >> Regards, >> >> Rene >> >> >