Paragraph Formatting in Rich Edit Controls
You can use member functions of the rich edit control (CRichEditCtrl) to format paragraphs and to retrieve formatting information. Paragraph formatting attributes include alignment, tabs, indents, and numbering.
You can apply paragraph formatting by using the SetParaFormat member function. To determine the current paragraph formatting for the selected text, use the GetParaFormat member function. The PARAFORMAT structure is used with these member functions to specify paragraph attributes. One of the important members of PARAFORMAT is dwMask. In SetParaFormat
, dwMask specifies which paragraph attributes will be set by this function call. GetParaFormat
reports the attributes of the first paragraph in the selection; dwMask specifies the attributes that are consistent throughout the selection.
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir