Please support our C++ advertiser: Programming Forums
Views: 12999 | Replies: 3
•
•
Join Date: Jun 2004
Posts: 604
Reputation:
Rep Power: 6
Solved Threads: 6
Hi Everyone,
I need some help in saving a file in the rich text edit control i have. Basically i have one button and richedit control on a form and what i need is the contents of the entire rich edit control to be passed to the saveas common dialog to be saved onto thee disk. One more thing to note is that my rich edit also contains pictures and text. Can anyone tell me how this is done or show me the codings of how this is done. So far this all that i have gotten so far.
Void CDialogsDlg::onSaveAs ()
{
CFileDialog m_ldFile(false);
if(m_ldFile.DoModal = = IDOK)
{
//This is the part i do not know how to save the entire contents
// of the rich edit
}
}
Someone please help me . My e-mail is freesoft_2000@yahoo.com
Thank You
Yours Sincerely
Richard West
I need some help in saving a file in the rich text edit control i have. Basically i have one button and richedit control on a form and what i need is the contents of the entire rich edit control to be passed to the saveas common dialog to be saved onto thee disk. One more thing to note is that my rich edit also contains pictures and text. Can anyone tell me how this is done or show me the codings of how this is done. So far this all that i have gotten so far.
Void CDialogsDlg::onSaveAs ()
{
CFileDialog m_ldFile(false);
if(m_ldFile.DoModal = = IDOK)
{
//This is the part i do not know how to save the entire contents
// of the rich edit
}
}
Someone please help me . My e-mail is freesoft_2000@yahoo.com
Thank You
Yours Sincerely
Richard West
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode