Resizing TopLevel / Main dialog

I am needing to resize the TopLevel (main dialog) of my application. I have some toolbars that I want the user to able to display or hide as he / she so chooses; however, when they are not displayed I need to be able to resize (shrink) the dialog to compensate for the space that the toolbars once took up. I do not want the user to be able to resize the dialog his / her self. I want the sesizing to be controlled programatically; therefore, I have set XmNminWidth, XmNwidth, XmNmaxWidth, XmNminHeight, XmNheight, and XmNmaxHeight.

C. Lamb


Anonymous

Anonymous's picture

Resizing TopLevel / Main dialog

What the problem do you hove with implementing this?