![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello Dave I have a question regarding your requirement: Suppose that the RTF formatted object in the clipboard is "Hi World" ,where "Hi" is in Calibri 11 black, and "World" is in Arial 20 Red. After it's dropped, do you expect all text become Times New Roman 12? Or just "Hi" become Times New Roman 12? |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Hello Dave Currently we still don't know of a way to say to start with the current character formatting short of including that formatting info in the RTF itself. The \rtf1 control word implies \plain as well. RichEdit does take the default point size from the target if SFF_SELECTION is active and no \fcharsetN control word has been encountered (a feature for "NT 4.0 CharMap" so it's been there a while). You might try omitting the \deff0 control word as well as the font table. RichEdit does initialize the "default" default font to the font at the insertion point, which is guaranteed to be valid. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |