I have an MFC app that has 2 vertically tiled MDI children. When I resize, do View Toolbar, or View StatusBar, I retile by doing a pMainWnd->MDITile(MDITILE_VERTICAL). This works well unless I have both children up, and the selected one is on the right. In this case, when I call MDITile, it always switches the selected one to the left. This is annoying, especially when I minimize and then maximize -- the positions of the windows are switched. I can't seem to find anything to override. Is there a way around this?