Windows event response region...

ZealAddon

06-03-2010 19:39:58

For some reason all my Window widgets only respond to MouseClick and MouseReleased if I click in the very bottom right corner of the Window. I assume other events have this same problem. On the other hand, buttons work fine...

Can anyone else confirm there is some problem with the Window's notification region?

Altren

06-03-2010 21:02:02

Your window response anywhere where you don't have child items from skin or child widget, so yes it's probably only on borders.
We are going to implement Sinking/bubbling event dispatching, so that won't be a problem any more.

But anyway, such behaviour is rarely needed. Why you need that?

ZealAddon

06-03-2010 21:54:14

Your window response anywhere where you don't have child items from skin or child widge

My window has no children, it is completely empty. But no matter where I click my events dont fire (unless I click the bottom right edge). What is the reason for this again? Why cant windows behave like the other widgets (where events always fire so long as you are ontop of a visible pixel/region)?

But anyway, such behaviour is rarely needed. Why you need that?

I am trying to implement 'dockable' windows. Basically I want to be able to drag/drop windows into other windows. I couldnt see any way to do this with the dd widgets, so I figured if a window could notify me when the user released the mouse button, I could implement my own basic drag/drop behavior.

Unless you can recommend some better way to do dockable windows?