Link to home
Start Free TrialLog in
Avatar of fsiegel
fsiegel

asked on

Override MDITile behavior

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?
ASKER CERTIFIED SOLUTION
Avatar of icotton
icotton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fsiegel
fsiegel

ASKER

That's a reasonable answer.  I actually had thought of this
myself, but I was hoping there would be a slicker way.  I guess
since the tiling is done in a Windows message, this is the best
I can do.

Thanks -- Frank Siegel