'ello
The ChildWindow does not seem to respect margins when calculating the centering. I would like to place the control, so that the modal background does not obscure my ribbon, but still be in the centre of the screen if I place it underneath the ribbon it gets displayed slightly to the bottom (obviously because it excludes the ribbon height in its calculations). If I place it above the ribbon (Fluent), the modal background obscures it in an ugly way. Then if you give it a margin to exclude the ribbon, it places the dialog way down at the bottom.
Thanx, I really would prefer not to hack your code :)
Cheerz
Hein
The ChildWindow does not seem to respect margins when calculating the centering. I would like to place the control, so that the modal background does not obscure my ribbon, but still be in the centre of the screen if I place it underneath the ribbon it gets displayed slightly to the bottom (obviously because it excludes the ribbon height in its calculations). If I place it above the ribbon (Fluent), the modal background obscures it in an ugly way. Then if you give it a margin to exclude the ribbon, it places the dialog way down at the bottom.
Thanx, I really would prefer not to hack your code :)
Cheerz
Hein