I need to Drag a dialog out of window in all directions left ,right and bottom 50% outside of window and top we should not go outside so that title should not go out upto edge of window it can go in top direction and u can drag it back .
We need to calculate bounds so that It will work in all resolutions I have given some bounds based on window height but In some resolution dialog is going out.
Is there any correct solution to fix these issues