Hi guys, Here i am again. I have this procedure for saving files, A file for each window. Don't know why the this parcels of code wouldnt work to shfit rhough all windows.
invoke SendMessage,hMdi,WM_MDINEXT,0,TRUE
invoke SendMessage,hMdi,WM_MDIGETACTIVE,0,0