Pasting in CRichEdit
Steen Rabol -- srabol@vip.cybercity.dk Sunday, February 25, 1996 How do I stop pasting 'objects' other than text into my CRichEditView ? Best Steen -------------------------------------------------- EMail : srabol@vip.cybercity.dk : scsr@pip.dknet.dk WWW : www.cybercity.dk/users/ccc2277/home.html Author of WebDesigner
Mike Blaszczak -- mikeblas@msn.com Wednesday, February 28, 1996 ---------- From: owner-mfc-l@netcom.com on behalf of Steen Rabol Sent: Sunday, February 25, 1996 01:54 >How do I stop pasting 'objects' other than text into my CRichEditView? Stop calling CRichEditCtrl::Paste() and instead call CRichEditCtrl::PasteSpecial(). Give to PasteSpecial() the clipboard format identifier of text or RTF so that it pastes with a native format instead of creating an object of a "foreign" type. .B ekiM TCHAR szWMFC[] = _T("Up next, a forty-minute question answering marathon!");
| Вернуться в корень Архива |