Docking Resizable Dialog box
-
Hi everybody, I need your help. I have a resizable dialog box with some controls (button, edit box, list box, etc). I have a Class that derive from « Paolo Messina CResizable » class. Every things works well. Now I want to dock that dialog box (docking the dialog to the main frame). I try to do it, but it doesn’t work. So, any ideas are welcome even if I would restart from scratch. Thanks.
-
Hi everybody, I need your help. I have a resizable dialog box with some controls (button, edit box, list box, etc). I have a Class that derive from « Paolo Messina CResizable » class. Every things works well. Now I want to dock that dialog box (docking the dialog to the main frame). I try to do it, but it doesn’t work. So, any ideas are welcome even if I would restart from scratch. Thanks.
-
Perhaps you can use the excellent resizable control bar[^] from Cristi Posea.
-
Thanks, But it cann't help me because i want my controls inside a dockable dialog to be resizable like in CResizableLib of Paolo Messina.
But you can derive Cristi's CSizingControlBar and put anything you want inside. I made it several months ago with a resizable child dialog containing listview, static and button controls. You only need to reposition the child dialog when the control bar is resized, then to override the OnSize handler in the child dialog to reposition correctly its controls.