属性sSpacing看来是没法用了。sSpacing 
Specifies the horizontal space, in twips, between letters. This value has no effect on the text displayed by a rich edit control; it is included for compatibility with Microsoft Text Object Model (TOM) interfaces. To use this member, set the CFM_SPACING flag in the dwMask member. 

解决方案 »

  1.   

    看看这几个能用不
    SetDefaultCharFormat 
    Sets the current default character formatting attributes in this CRichEditCtrl object. SetSelectionCharFormat 
    Sets the character formatting attributes in the current selection in this CRichEditCtrl object. SetWordCharFormat
     Sets the character formatting attributes in the current word in this CRichEditCtrl object. SetParaFormat
     Sets the paragraph formatting attributes in the current selection in this CRichEditCtrl object. 
      

  2.   

    既然不能用为什么MS还要说To use this member, set the CFM_SPACING flag in the dwMask member. 这句,不如先试试再说吧
      

  3.   

    因为 sSpacing 是CHARFORMAT 的属性,或许这里想说这个属性在其他一些地方还是可以用,但在RichEditCtrl里就不起作用了。我早就试过了。
      

  4.   

    CRichEditCtrl类也认真研究过,这个属性好象不起作用,是不是需要调用其他的API才可以?