I have a MDI application using CMAXMultiDocTemplate for child doc/view. Every time calling the OpenDocumentFile() will create and show a new child view. The first window position starts from X=0 and Y=0 and then every followed newly created child window has added an offset of X=29 and Y=29 by default to display all child windows on cascade style. If I close all child windows, the next newly create still using the current position to place the windows on bottom of the application main frame until total window number goes to 11.
Is there any way to reset the starting position of new created child window to X=0 and Y=0 whenever all child windows are closed?
Thanks.
CK
No, there is no way to reset the "internal counter".