If i have a rich edit control. And someone copies text out of ms word with the times new roman font and paste it into my control, it paste it in times new roman instead if what i have set the font to. How do i stop this?
Posted on 2001-11-26 00:04:08 by ChimpFace9000
EM_PASTESPECIAL and set CF_TEXT as the format.

Regards,

hutch@movsd.com
Posted on 2001-11-26 03:00:52 by hutch--
So i subclass the rich edit control, and when the wm_paste message is sent, i send the em_pastespecial message and return 0. Is that right?
Posted on 2001-11-26 15:03:25 by ChimpFace9000