Page 1 of 1

Emulating dialog MOVE and MINIMISE

Posted: Wed May 17, 2017 2:09 am
by reganc
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?

Re: Emulating dialog MOVE and MINIMISE

Posted: Wed May 17, 2017 4:31 am
by c-tec
Hello, look at samples/movewin
regards
Rudolf

Re: Emulating dialog MOVE and MINIMISE

Posted: Wed May 17, 2017 7:52 am
by reganc
c-tec wrote:Hello, look at samples/movewin
regards
Rudolf
Many thanks, Rudolf. I guess I missed that one.

So many samples, so little time... :-)