Dragging/resizing a borderless Quartz Builder App

itsthejayj's picture

HI Guys, i'm trying to wrap my head around creating a borderless Quartz builder Application that i can drag around the screen and resize using a invisible interactive sprite anchored in the centre top and bottom left of the apps screen.

I know i can change the Window X/Y pos and Window width/height using the QB QC template parameters... im just having problems calculating this? Has any one done this before? any pointers?