Submitted by Anonymous on Wed, 03/10/2004 - 13:54.
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.