Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: #DASH ANJAN KUMAR# To: "'cygwin AT cygwin DOT com'" Subject: on file save as Date: Mon, 5 Mar 2001 09:20:42 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain i want to save some selective portion using the saveas button on file menu in a vc++ single document application. right now i have written as follows.... void CMdEditDoc::OnFileSaveAs() { CDocument::OnFileSaveAs(); ofstream fout(m_szTempFilePath); m_pMod->ModelGen(fout); fout.close(); } I am not getting what i ahve written in ModelGen function of a class to which m_pMod is a pointer. Can anybody help me? Regards dash -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple