Getting onMouseDown in background of plugin-window?

Specifically, what I want to do is track onMouseDown/onMouseUp/onMouseMoved to provide a way to resize the window in hosts that don’t provide a window with a resizeable frame (or in the case of the auwrapper, for situations where we don’t seem to get notified about the window frame resizing). I tried this with a view that stayed pinned to the bottom-right, but the mouse coordinates it received were not always in synch with the location of the view itself as its parent view moved it to keep it pinned to the bottom-right. So I’d like to track the movement at the main view level, which is always at 0,0.