views:

38

answers:

0

A MDIParent Wnd has many MDIchild Wnds, and also few child dialogs.

Dialogs are created this way --- CAutoDlg *pDlg = new CAutoDlg; pDlg->Create(IDD_AUTOCARD,this);

I want to cascade only a specific type of dialogs, say dialogs of CAutoDlg type only.

If i give MDICascade() it cascades all the child windows and dialogs under the MDIFrame. Is there any other un-conventional way other than calling SetWindowPos for each dialog, based on the position of the previous dialog?