On changing the dimension of dialog box with MoveWindow function , the dimension of inner content does not change . I mean that when I am changing the dimension of dialog box using movewindow or setwindowpos ,the button and other control which were inside it go out of border or change there relative position.
Is there any way which can resize the complete dialog box with its inner content (so that inner content also adjust themself with changing dimension).