for a dialog-based application, i want to install a ">>" button which will resize the window and display more controls.
The upper-left area displaying two values in a border should remain as it is. Of course i could design another dialog
and switch between them, but then i've got the problem to keep them consistent etc. So i'd prefer to size the window so
that normally, only the upper left area is visible, and simply resize it when the user clicks the button.
But, a dialog is laid out differently depending on the system font size! So i can't use constants for the resize
function. Is there a way to calculate the two required sizes, or a better way to handle it?
-- Raymond Chandler: The long goodbye -- one of my favourite books --