Emulating dialog MOVE and MINIMISE
Posted: Wed May 17, 2017 2:09 am
We have a dialog where we have suppressed the dialog title bar. We did this because we wanted to have a larger title bar and be able to freely position objects on it where we wanted.
As there is no actual title bar this means there is no dialog MOVE (positioning) handling and no MINIMISE, MAXIMISE or DIALOG EXIT buttons.
Adding the buttons should be fairly straightforward (I presume we would just post the relevant events) but I have no idea how to go about handling the movement of the dialog.
This is something I want to be able to do and understand how it works.
Can anyone give me any help or point me in the right direction?
As there is no actual title bar this means there is no dialog MOVE (positioning) handling and no MINIMISE, MAXIMISE or DIALOG EXIT buttons.
Adding the buttons should be fairly straightforward (I presume we would just post the relevant events) but I have no idea how to go about handling the movement of the dialog.
This is something I want to be able to do and understand how it works.
Can anyone give me any help or point me in the right direction?