À©µµ¿ì ÇÁ·Î±×·¡¹Ö ÀÚ·á |
---|
Á¦¸ñ | [MFC] File ó¸® 1998/04/28 (09:57) |
À̸§ | ±èÈ¿¿ø (swindler@pin.snu.ac.kr) |
¹øÈ£ | 4 |
Á¶È¸ | 334 |
º»¹® |
Application Framework¿¡¼ CFile, CArchive Object ±¸¼º CFile Object°¡ --Disk File Open --CArchive File Object Connect CArchive &ar, ar. IsStoring() OnFileNew() CDocumentÀÇ OnNewDocument È£Ãâ Call View's OnInitialUpdate OnFileOpen() Call Document's OnOpenDocument --> Run FileOpenDialog Call View's OnInitialUpdate OnFileClose() Call OnSaveDocument OnCloseDocument -- Call DeleteContents OnFileSave() Call Document's OnSaveDocument example) CRECT rect; rect=*(CRECT *)m_pArray[i]; ar<<rect; ar>>rect; CRect *pRect=new Crect(rect); m_pArray.Add(pRect); CRect *pRect=(CRect *)m_pArray[count] return *pRect; |