How to resize the modal dialog
-
Hello All, I am launching a Modal dialog box on selecting of a menu item in my SDI application. I want that dialog to be resizable. Dialog box is created using Resource Editor and class is derived from CDialog and I launch using DoModal (). By Default Dialog box comes only with close button. I enabled Minimize and Maximize button property it allows me maximize and minimize only (Quite Natural ) and not able to resize the dialog window. I need only resizing and not minimize and maximize the dialog window. How can i achive it? plz guide me!!!! Thanks for your time. Ravi
-
Hello All, I am launching a Modal dialog box on selecting of a menu item in my SDI application. I want that dialog to be resizable. Dialog box is created using Resource Editor and class is derived from CDialog and I launch using DoModal (). By Default Dialog box comes only with close button. I enabled Minimize and Maximize button property it allows me maximize and minimize only (Quite Natural ) and not able to resize the dialog window. I need only resizing and not minimize and maximize the dialog window. How can i achive it? plz guide me!!!! Thanks for your time. Ravi
-
I think a dialog can be resized if its Border property (in Properties panel of Dialog Editor) is set to "Resizing". I hope this helps.
yeah, but only the frame will be resized, the original poster will have to manually resize/move all the controls in the dialog. he can use one of the "resize manager" that can be found on CP to help him do that.
Maximilien Lincourt Your Head A Splode - Strong Bad