Our only need for attaching a reshape function to the main window is to resize and re-position its subwindows. Note from our discussion on creating the subwindows, we use percentages of the main window's dimensions for the respective subwindows' positions and dimensions. Thus, when a main window reshape event is handled and passed the "new" dimensions of the window, we re-establish the relative positions and dimensions of the subwindows through their respective percentages. You should experiment with resizing the main window and see that this strategy works.