How to Drag Window?

I would like to have a standard Window, with the minimize, maximize, close button. I use css to hide the head window, and then write their own with a HorizontalLayout the head of a Window, the problem is now the head can not drag out, only to drag the bottom, how do I make the head can also drag ?

That would require some extensive client side coding, and I bet it would be easier just to modify the window and add the necessary buttons there, and not try to hide the window header.

shy!!! could you give me a example?:rolleyes: