Hi,
In MFC MDI application we have windows menus to make child windows "Tile", "Cascade" etc. Below that we can see the List of Open Child windows up to 9 and after that "More Windows.." will be there. The list of window(9) will show in the order of how they opened. If we select any window from that corresponding window will get activated and menu item will be checked in the list.
If we select "More windows.." it will open one dialog box which contains all the opened documents. If we select any document it will get activated.
If we select any window using "more windows" --> "Select Window" , which is not there in the first 9 windows then the new selected window replaces the 9th window.
I was trying to implement the same behavior. I was able to get the list of all opened documents in the order and able to populate in my list box. I was able to swap the list items also if user selects other that 9 items.
But I was not able to maintain that state if I close and reopen as same as how windows menu does. Its again giving the list in the order which they opened.
Can anyone tell me how windows menu handling this situation.
Thanks,
Vijay